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
d09c3c02e8
commit
a1f0669b64
|
@ -374,10 +374,11 @@ capi.client.add_signal("manage", function(c, startup)
|
||||||
c.screen = capi.mouse.screen
|
c.screen = capi.mouse.screen
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
withcurrent(c, startup)
|
|
||||||
c:add_signal("property::screen", withcurrent)
|
c:add_signal("property::screen", withcurrent)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
capi.client.add_signal("manage", withcurrent)
|
||||||
|
|
||||||
for s = 1, capi.screen.count() do
|
for s = 1, capi.screen.count() do
|
||||||
capi.screen[s]:add_signal("tag::history::update", history.update)
|
capi.screen[s]:add_signal("tag::history::update", history.update)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue