From 05f6a30716ea82e6338ad3f240f1508b2033bbc8 Mon Sep 17 00:00:00 2001 From: Renan Traba Date: Tue, 23 Apr 2013 22:37:16 -0300 Subject: [PATCH] explicit restore to MAX_MAXIMUS instead of empty flag at handleMaximize --- src/actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions.c b/src/actions.c index 19b43227..6c695638 100644 --- a/src/actions.c +++ b/src/actions.c @@ -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 */ -- 2.11.4.GIT