Commit 99b68252 authored by Gerard Patel's avatar Gerard Patel Committed by Alexandre Julliard

Fix infinite loop with glastXFocusWindow.

parent 25114774
......@@ -304,6 +304,7 @@ static void EVENT_ProcessEvent( XEvent *event )
XFocusChangeEvent *xfocChange = (XFocusChangeEvent*)event;
glastXFocusWin = xfocChange->window;
if (!hWnd || bUserRepaintDisabled) return;
if (GetWindowLongA( hWnd, GWL_STYLE ) & WS_DISABLED) glastXFocusWin = 0;
EVENT_FocusOut( hWnd, (XFocusChangeEvent*)event );
break;
}
......
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