explicit restore to MAX_MAXIMUS instead of empty flag at handleMaximize

This commit is contained in:
Renan Traba
2013-05-21 11:24:36 +01:00
committed by Carlos R. Mafra
parent c2188d0793
commit 05f6a30716
+1 -1
View File
@@ -487,7 +487,7 @@ void handleMaximize(WWindow *wwin, int directions)
/* allow wMaximizeWindow to restore the Maximusized size */
if ((wwin->flags.old_maximized & MAX_MAXIMUS) &&
!(requested & MAX_MAXIMUS))
wMaximizeWindow(wwin, flags);
wMaximizeWindow(wwin, MAX_MAXIMUS | flags);
else
wUnmaximizeWindow(wwin);
/* these alone mean vertical|horizontal toggle */