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:
committed by
Carlos R. Mafra
parent
c2188d0793
commit
05f6a30716
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user