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

This commit is contained in:
Alexandre Julliard 2008-04-14 13:26:38 +02:00
parent ab62cd360f
commit 8577358ef5
1 changed files with 1 additions and 1 deletions

View File

@ -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) if ((style & WS_MAXIMIZE) && (style & WS_CAPTION) == WS_CAPTION)
new_state |= (1 << NET_WM_STATE_MAXIMIZED); new_state |= (1 << NET_WM_STATE_MAXIMIZED);
else else if (!(style & WS_MINIMIZE))
new_state |= (1 << NET_WM_STATE_FULLSCREEN); new_state |= (1 << NET_WM_STATE_FULLSCREEN);
} }
else if (style & WS_MAXIMIZE) else if (style & WS_MAXIMIZE)