From 3d8c3bb614154918f403ce937579a03c97e2d99a Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 28 Sep 2015 14:41:44 -0400 Subject: [PATCH] unset the requested maximize state when receiving a client unmaximize request not sure why it was always removing VERTICAL here but that's a bug --- src/bin/e_hints.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/e_hints.c b/src/bin/e_hints.c index 3684ccab0..242416984 100644 --- a/src/bin/e_hints.c +++ b/src/bin/e_hints.c @@ -809,7 +809,7 @@ e_hints_window_state_update(E_Client *ec, int state, int action) { case ECORE_X_WINDOW_STATE_ACTION_REMOVE: if (ec->maximized & max[state]) - e_client_unmaximize(ec, E_MAXIMIZE_VERTICAL); + e_client_unmaximize(ec, max[state]); break; case ECORE_X_WINDOW_STATE_ACTION_ADD: