mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-16 01:25:51 +00:00
Fix infinite loop with glastXFocusWindow.
This commit is contained in:
parent
251147741c
commit
99b68252a1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue