client: focus change does not call need_arrange

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-04-17 23:44:47 +02:00
parent 22ac877f46
commit 14330f6aec
2 changed files with 1 additions and 4 deletions

View File

@ -257,10 +257,6 @@ client_focus_update(client_t *c)
globalconf.screen_focus->prev_client_focus = c; globalconf.screen_focus->prev_client_focus = c;
globalconf.screen_focus->client_focus = c; globalconf.screen_focus->client_focus = c;
/* Some layouts use focused client differently, so call them back.
* And anyway, we have maybe unhidden */
client_need_arrange(c);
/* according to EWMH, we have to remove the urgent state from a client */ /* according to EWMH, we have to remove the urgent state from a client */
client_seturgent(c, false); client_seturgent(c, false);

View File

@ -105,5 +105,6 @@ hooks.wibox_position.register(function(wibox)
end) end)
hooks.padding.register(function(screen) on_arrange(screen) end) hooks.padding.register(function(screen) on_arrange(screen) end)
hooks.focus.register(function(c) on_arrange(c.screen) end)
-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80 -- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=80