From aedfe8b6651b427564174660154ade719e6aa43b Mon Sep 17 00:00:00 2001 From: Fabienne Ducroquet Date: Sat, 12 Jan 2008 16:04:44 +0100 Subject: [PATCH] Fix client_togglehorizontalmax and client_toggleverticalmax Signed-off-by: Julien Danjou --- client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client.c b/client.c index e541d1a8..49900fbd 100644 --- a/client.c +++ b/client.c @@ -950,6 +950,7 @@ uicb_client_toggleverticalmax(int screen, char *arg __attribute__ ((unused))) if(sel) { area.x = sel->geometry.x; + area.width = sel->geometry.width; area.height -= 2 * sel->border; client_maximize(sel, area); } @@ -972,6 +973,7 @@ uicb_client_togglehorizontalmax(int screen, char *arg __attribute__ ((unused))) if(sel) { area.y = sel->geometry.y; + area.height = sel->geometry.height; area.width -= 2 * sel->border; client_maximize(sel, area); }