Fix client_togglehorizontalmax and client_toggleverticalmax
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
d99374bff2
commit
aedfe8b665
2
client.c
2
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue