focus on maximize()

This commit is contained in:
Julien Danjou 2008-02-09 22:42:21 +01:00
parent 44a0a1ee4e
commit 2fad66e23f
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}