client: focus change does not call need_arrange
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
22ac877f46
commit
14330f6aec
4
client.c
4
client.c
|
@ -257,10 +257,6 @@ client_focus_update(client_t *c)
|
|||
globalconf.screen_focus->prev_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 */
|
||||
client_seturgent(c, false);
|
||||
|
||||
|
|
|
@ -105,5 +105,6 @@ hooks.wibox_position.register(function(wibox)
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue