mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
small fix for maximize() in floating layout
This commit is contained in:
parent
af0eab0322
commit
c412b05b3c
1 changed files with 1 additions and 1 deletions
2
layout.c
2
layout.c
|
@ -240,7 +240,7 @@ maximize(int x, int y, int w, int h, awesome_config *awesomeconf)
|
|||
{
|
||||
sel->wasfloating = sel->isfloating;
|
||||
sel->isfloating = True;
|
||||
client_resize(sel, x, y, w, h, awesomeconf, True, True);
|
||||
client_resize(sel, x, y, w, h, awesomeconf, True, !sel->isfloating);
|
||||
}
|
||||
else if(sel->wasfloating)
|
||||
client_resize(sel, sel->rx, sel->ry, sel->rw, sel->rh, awesomeconf, True, False);
|
||||
|
|
Loading…
Reference in a new issue