Commit 7d6f360f authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Ignore FocusOut event if there is no event window.

parent 9fc774eb
...@@ -532,6 +532,8 @@ static void EVENT_FocusOut( HWND hwnd, XFocusChangeEvent *event ) ...@@ -532,6 +532,8 @@ static void EVENT_FocusOut( HWND hwnd, XFocusChangeEvent *event )
int revert; int revert;
XIC xic; XIC xic;
if (!hwnd) return;
TRACE( "win %p xwin %lx detail=%s\n", hwnd, event->window, focus_details[event->detail] ); TRACE( "win %p xwin %lx detail=%s\n", hwnd, event->window, focus_details[event->detail] );
if (event->detail == NotifyPointer) return; if (event->detail == NotifyPointer) return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment