winex11.drv: Add window style and visibility status to the take focus event trace.
This commit is contained in:
parent
3529e0ceeb
commit
8fb90dea3c
|
@ -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))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue