Commit daa351ee authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

winex11: Fix logic of whether to use XUnmapWindow() or XWithdrawWindow() in make_window_embedded().

parent d987cc3d
......@@ -1174,7 +1174,7 @@ void make_window_embedded( struct x11drv_win_data *data )
/* the window cannot be mapped before being embedded */
if (data->mapped)
{
if (data->managed) XUnmapWindow( data->display, data->whole_window );
if (!data->managed) XUnmapWindow( data->display, data->whole_window );
else XWithdrawWindow( data->display, data->whole_window, data->vis.screen );
data->net_wm_state = 0;
}
......
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