mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-23 14:42:29 +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 */
|
/* allow wMaximizeWindow to restore the Maximusized size */
|
||||||
if ((wwin->flags.old_maximized & MAX_MAXIMUS) &&
|
if ((wwin->flags.old_maximized & MAX_MAXIMUS) &&
|
||||||
!(requested & MAX_MAXIMUS))
|
!(requested & MAX_MAXIMUS))
|
||||||
wMaximizeWindow(wwin, flags);
|
wMaximizeWindow(wwin, MAX_MAXIMUS | flags);
|
||||||
else
|
else
|
||||||
wUnmaximizeWindow(wwin);
|
wUnmaximizeWindow(wwin);
|
||||||
/* these alone mean vertical|horizontal toggle */
|
/* these alone mean vertical|horizontal toggle */
|
||||||
|
|||||||
Reference in New Issue
Block a user