diff --git a/client.c b/client.c index e541d1a88..49900fbdd 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); }