Ignore FocusOut event if there is no event window.

This commit is contained in:
Dmitry Timoshkov 2004-09-29 21:11:28 +00:00 committed by Alexandre Julliard
parent 9fc774eb49
commit 7d6f360f94

View File

@ -532,6 +532,8 @@ static void EVENT_FocusOut( HWND hwnd, XFocusChangeEvent *event )
int revert;
XIC xic;
if (!hwnd) return;
TRACE( "win %p xwin %lx detail=%s\n", hwnd, event->window, focus_details[event->detail] );
if (event->detail == NotifyPointer) return;