Fix a focus stealing bug introduced by the managed flag changes.
This commit is contained in:
parent
45033446bb
commit
88ac4b9650
|
@ -1177,7 +1177,7 @@ void X11DRV_SetFocus( HWND hwnd )
|
|||
hwnd = GetAncestor( hwnd, GA_ROOT );
|
||||
|
||||
if (!(data = X11DRV_get_win_data( hwnd ))) return;
|
||||
if (!data->managed || !data->whole_window) return;
|
||||
if (data->managed || !data->whole_window) return;
|
||||
|
||||
/* Set X focus and install colormap */
|
||||
wine_tsx11_lock();
|
||||
|
|
Loading…
Reference in New Issue