Commit 8577358e authored by Alexandre Julliard's avatar Alexandre Julliard

winex11: Don't set full screen style on minimized windows.

parent ab62cd36
......@@ -136,7 +136,7 @@ static void update_net_wm_states( Display *display, struct x11drv_win_data *data
{
if ((style & WS_MAXIMIZE) && (style & WS_CAPTION) == WS_CAPTION)
new_state |= (1 << NET_WM_STATE_MAXIMIZED);
else
else if (!(style & WS_MINIMIZE))
new_state |= (1 << NET_WM_STATE_FULLSCREEN);
}
else if (style & WS_MAXIMIZE)
......
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