winex11: Ignore FocusOut event on destroyed windows.
This commit is contained in:
parent
7fb42984e2
commit
29c1b8fa08
|
@ -759,6 +759,7 @@ static void X11DRV_FocusOut( HWND hwnd, XEvent *xev )
|
||||||
if (!hwnd && event->window == x11drv_thread_data()->clip_window) reset_clipping_window();
|
if (!hwnd && event->window == x11drv_thread_data()->clip_window) reset_clipping_window();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (!hwnd) return;
|
||||||
if (ximInComposeMode) return;
|
if (ximInComposeMode) return;
|
||||||
|
|
||||||
x11drv_thread_data()->last_focus = hwnd;
|
x11drv_thread_data()->last_focus = hwnd;
|
||||||
|
|
Loading…
Reference in New Issue