focus on maximize()
This commit is contained in:
parent
44a0a1ee4e
commit
2fad66e23f
1
client.c
1
client.c
|
@ -924,6 +924,7 @@ client_maximize(Client *c, Area geometry)
|
||||||
c->m_geometry = c->geometry;
|
c->m_geometry = c->geometry;
|
||||||
if(get_current_layout(c->screen)->arrange != layout_floating)
|
if(get_current_layout(c->screen)->arrange != layout_floating)
|
||||||
client_setfloating(c, True);
|
client_setfloating(c, True);
|
||||||
|
client_focus(c, c->screen, False);
|
||||||
client_resize(c, geometry, False);
|
client_resize(c, geometry, False);
|
||||||
widget_invalidate_cache(c->screen, WIDGET_CACHE_CLIENTS);
|
widget_invalidate_cache(c->screen, WIDGET_CACHE_CLIENTS);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue