From 06eeb410934ce92e764927daeb1b2fa8d4802d3b Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 21 Oct 2009 11:41:20 +0200 Subject: [PATCH] ewmh: fix toggle on maximized_horizontal Signed-off-by: Julien Danjou --- ewmh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ewmh.c b/ewmh.c index b84e18c7..13a6eb26 100644 --- a/ewmh.c +++ b/ewmh.c @@ -301,7 +301,7 @@ ewmh_process_state_atom(client_t *c, xcb_atom_t state, int set) else if(set == _NET_WM_STATE_ADD) client_set_maximized_horizontal(globalconf.L, -1, true); else if(set == _NET_WM_STATE_TOGGLE) - client_set_maximized_horizontal(globalconf.L, -1, c->maximized_horizontal); + client_set_maximized_horizontal(globalconf.L, -1, !c->maximized_horizontal); } else if(state == _NET_WM_STATE_MAXIMIZED_VERT) {