1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 12:58:08 +01:00

explicit restore to MAX_MAXIMUS instead of empty flag at handleMaximize

This commit is contained in:
Renan Traba
2013-04-23 22:37:16 -03:00
committed by Carlos R. Mafra
parent c2188d0793
commit 05f6a30716

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 */