mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Fix titlebar drawing on max
This commit is contained in:
parent
7462b44e37
commit
c99bc4dc1d
1 changed files with 7 additions and 5 deletions
2
client.c
2
client.c
|
@ -576,6 +576,7 @@ client_resize(Client *c, area_t geometry, Bool hints)
|
|||
|| layout_get_current(new_screen)->arrange == layout_floating)
|
||||
{
|
||||
if(!c->ismax)
|
||||
{
|
||||
c->f_geometry = geometry;
|
||||
geometry = titlebar_update_geometry(c, geometry);
|
||||
wc.x = geometry.x;
|
||||
|
@ -583,6 +584,7 @@ client_resize(Client *c, area_t geometry, Bool hints)
|
|||
wc.width = geometry.width;
|
||||
wc.height = geometry.height;
|
||||
}
|
||||
}
|
||||
|
||||
XConfigureWindow(globalconf.display, c->win,
|
||||
CWX | CWY | CWWidth | CWHeight | CWBorderWidth, &wc);
|
||||
|
|
Loading…
Reference in a new issue