Add window style and visibility status to the take focus event trace
Dmitry Timoshkov
dmitry at codeweavers.com
Wed Jul 5 02:57:44 CDT 2006
Hello,
Changelog:
Add window style and visibility status to the take focus event trace.
--- cvs/hq/wine/dlls/winex11.drv/event.c 2006-06-16 22:19:17.000000000 +0900
+++ wine/dlls/winex11.drv/event.c 2006-07-05 15:40:02.000000000 +0900
@@ -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-patches
mailing list