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

This commit is contained in:
Todd Mokros 2005-08-22 09:14:21 +00:00 committed by Alexandre Julliard
parent 45033446bb
commit 88ac4b9650
1 changed files with 1 additions and 1 deletions

View File

@ -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();