Commit 913cab13 authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Switch owner window to managed when displaying one of its popups.

parent 391afac6
...@@ -1008,6 +1008,12 @@ static Window get_owner_whole_window( HWND owner ) ...@@ -1008,6 +1008,12 @@ static Window get_owner_whole_window( HWND owner )
if (!(data = X11DRV_create_win_data( owner ))) if (!(data = X11DRV_create_win_data( owner )))
return (Window)GetPropA( owner, whole_window_prop ); return (Window)GetPropA( owner, whole_window_prop );
} }
else if (!data->managed) /* make it managed */
{
SetWindowPos( owner, 0, 0, 0, 0, 0,
SWP_NOACTIVATE | SWP_NOZORDER | SWP_NOSIZE | SWP_NOMOVE |
SWP_NOREDRAW | SWP_DEFERERASE | SWP_NOSENDCHANGING | SWP_STATECHANGED );
}
return data->whole_window; return data->whole_window;
} }
......
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