winex11: Fix logic of whether to use XUnmapWindow() or XWithdrawWindow() in make_window_embedded().
Signed-off-by: Ken Thomases <ken@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d987cc3d83
commit
daa351ee82
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue