mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Fix client_togglehorizontalmax and client_toggleverticalmax
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
d99374bff2
commit
aedfe8b665
1 changed files with 2 additions and 0 deletions
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 a new issue