From 8fb90dea3cc8bbfd244aa9e6f6428a2c3744ee08 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Wed, 5 Jul 2006 16:57:44 +0900 Subject: [PATCH] winex11.drv: Add window style and visibility status to the take focus event trace. --- dlls/winex11.drv/event.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c index ae72f168133..aa9c1d641de 100644 --- a/dlls/winex11.drv/event.c +++ b/dlls/winex11.drv/event.c @@ -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)) {