Commit 88ac4b96 authored by Todd Mokros's avatar Todd Mokros Committed by Alexandre Julliard

Fix a focus stealing bug introduced by the managed flag changes.

parent 45033446
...@@ -1177,7 +1177,7 @@ void X11DRV_SetFocus( HWND hwnd ) ...@@ -1177,7 +1177,7 @@ void X11DRV_SetFocus( HWND hwnd )
hwnd = GetAncestor( hwnd, GA_ROOT ); hwnd = GetAncestor( hwnd, GA_ROOT );
if (!(data = X11DRV_get_win_data( hwnd ))) return; 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 */ /* Set X focus and install colormap */
wine_tsx11_lock(); wine_tsx11_lock();
......
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