Commit 5e5a9d6f authored by Vincent Povirk's avatar Vincent Povirk Committed by Alexandre Julliard

winex11: Leave fullscreen state alone when minimizing.

parent df8a1ce6
......@@ -974,6 +974,8 @@ void update_net_wm_states( struct x11drv_win_data *data )
if (data->whole_window == root_window) return;
style = GetWindowLongW( data->hwnd, GWL_STYLE );
if (style & WS_MINIMIZE)
new_state |= data->net_wm_state & (1 << NET_WM_STATE_FULLSCREEN);
if (is_window_rect_fullscreen( &data->whole_rect ))
{
if ((style & WS_MAXIMIZE) && (style & WS_CAPTION) == WS_CAPTION)
......
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