mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 14:44:57 +00:00
winex11drv: Correctly react to focus loss away from Wine.
This commit is contained in:
parent
dcdf7c55d6
commit
d836a50621
|
@ -570,8 +570,8 @@ static void EVENT_FocusOut( HWND hwnd, XEvent *xev )
|
|||
case we don't have to change the foreground window to 0 */
|
||||
if (hwnd == GetForegroundWindow())
|
||||
{
|
||||
TRACE( "lost focus, setting fg to 0\n" );
|
||||
SetForegroundWindow( 0 );
|
||||
TRACE( "lost focus, setting fg to desktop\n" );
|
||||
SetForegroundWindow( GetDesktopWindow() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue