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

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jul 7 07:56:01 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 8fb90dea3cc8bbfd244aa9e6f6428a2c3744ee08
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=8fb90dea3cc8bbfd244aa9e6f6428a2c3744ee08

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Wed Jul  5 16:57:44 2006 +0900

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

---

 dlls/winex11.drv/event.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c
index ae72f16..aa9c1d6 100644
--- a/dlls/winex11.drv/event.c
+++ b/dlls/winex11.drv/event.c
@@ -424,9 +424,9 @@ static void handle_wm_protocols( HWND hw
         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))
         {




More information about the wine-cvs mailing list