mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
focus on maximize()
This commit is contained in:
parent
44a0a1ee4e
commit
2fad66e23f
1 changed files with 1 additions and 0 deletions
1
client.c
1
client.c
|
@ -924,6 +924,7 @@ client_maximize(Client *c, Area geometry)
|
|||
c->m_geometry = c->geometry;
|
||||
if(get_current_layout(c->screen)->arrange != layout_floating)
|
||||
client_setfloating(c, True);
|
||||
client_focus(c, c->screen, False);
|
||||
client_resize(c, geometry, False);
|
||||
widget_invalidate_cache(c->screen, WIDGET_CACHE_CLIENTS);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue