Commit 8fb90dea authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

winex11.drv: Add window style and visibility status to the take focus event trace.

parent 3529e0ce
...@@ -424,9 +424,9 @@ static void handle_wm_protocols( HWND hwnd, XClientMessageEvent *event ) ...@@ -424,9 +424,9 @@ static void handle_wm_protocols( HWND hwnd, XClientMessageEvent *event )
Time event_time = (Time)event->data.l[1]; Time event_time = (Time)event->data.l[1];
HWND last_focus = x11drv_thread_data()->last_focus; HWND last_focus = x11drv_thread_data()->last_focus;
TRACE( "got take focus msg for %p, enabled=%d, focus=%p, active=%p, fg=%p, last=%p\n", TRACE( "got take focus msg for %p, enabled=%d, visible=%d (style %08lx), focus=%p, active=%p, fg=%p, last=%p\n",
hwnd, IsWindowEnabled(hwnd), GetFocus(), GetActiveWindow(), hwnd, IsWindowEnabled(hwnd), IsWindowVisible(hwnd), GetWindowLongW(hwnd, GWL_STYLE),
GetForegroundWindow(), last_focus ); GetFocus(), GetActiveWindow(), GetForegroundWindow(), last_focus );
if (can_activate_window(hwnd)) if (can_activate_window(hwnd))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment