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

This commit is contained in:
Dmitry Timoshkov 2006-07-05 16:57:44 +09:00 committed by Alexandre Julliard
parent 3529e0ceeb
commit 8fb90dea3c
1 changed files with 3 additions and 3 deletions

View File

@ -424,9 +424,9 @@ static void handle_wm_protocols( HWND hwnd, XClientMessageEvent *event )
Time event_time = (Time)event->data.l[1];
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",
hwnd, IsWindowEnabled(hwnd), GetFocus(), GetActiveWindow(),
GetForegroundWindow(), last_focus );
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), IsWindowVisible(hwnd), GetWindowLongW(hwnd, GWL_STYLE),
GetFocus(), GetActiveWindow(), GetForegroundWindow(), last_focus );
if (can_activate_window(hwnd))
{