winex11: Ignore FocusOut event on destroyed windows.

This commit is contained in:
Alexandre Julliard 2012-03-09 11:37:15 +01:00
parent 7fb42984e2
commit 29c1b8fa08

View File

@ -759,6 +759,7 @@ static void X11DRV_FocusOut( HWND hwnd, XEvent *xev )
if (!hwnd && event->window == x11drv_thread_data()->clip_window) reset_clipping_window();
return;
}
if (!hwnd) return;
if (ximInComposeMode) return;
x11drv_thread_data()->last_focus = hwnd;