awful.tag: register 'withcurrent' explicitly
This explicitly registers withcurrent(c) as a manage signal handler so that it can be removed if necessary. Signed-off-by: koniu <gkusnierz@gmail.com> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
026247cf18
commit
5b8acee224
|
@ -374,10 +374,11 @@ capi.client.add_signal("manage", function(c, startup)
|
|||
c.screen = capi.mouse.screen
|
||||
end
|
||||
end
|
||||
withcurrent(c, startup)
|
||||
c:add_signal("property::screen", withcurrent)
|
||||
end)
|
||||
|
||||
capi.client.add_signal("manage", withcurrent)
|
||||
|
||||
for s = 1, capi.screen.count() do
|
||||
capi.screen[s]:add_signal("tag::history::update", history.update)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue