From 5b8acee224d8e9392186e5b10586e7a6fa0f2163 Mon Sep 17 00:00:00 2001 From: koniu Date: Fri, 8 Jan 2010 15:16:37 +0000 Subject: [PATCH] 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 Signed-off-by: Julien Danjou --- lib/awful/tag.lua.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/awful/tag.lua.in b/lib/awful/tag.lua.in index 949a83d0..a984ed58 100644 --- a/lib/awful/tag.lua.in +++ b/lib/awful/tag.lua.in @@ -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