Module: wine Branch: master Commit: 29c1b8fa0842fdcaff6a7bdb73693be7445f602c URL: http://source.winehq.org/git/wine.git/?a=commit;h=29c1b8fa0842fdcaff6a7bdb73...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Mar 9 11:37:15 2012 +0100
winex11: Ignore FocusOut event on destroyed windows.
---
dlls/winex11.drv/event.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/event.c b/dlls/winex11.drv/event.c index 99c47c8..7f9f0bf 100644 --- a/dlls/winex11.drv/event.c +++ b/dlls/winex11.drv/event.c @@ -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;