From 539af16a6585c149cc0f2361c935390addc1d025 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 23 Sep 2009 15:46:42 +0200 Subject: [PATCH] tag: emit selected signal after banning change Signed-off-by: Julien Danjou --- tag.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tag.c b/tag.c index 22ded392..753d2041 100644 --- a/tag.c +++ b/tag.c @@ -79,8 +79,6 @@ tag_view(lua_State *L, int udx, bool view) { tag->selected = view; - luaA_object_emit_signal(L, udx, "property::selected", 0); - if(tag->screen) { int screen_index = screen_array_indexof(&globalconf.screens, tag->screen); @@ -100,6 +98,8 @@ tag_view(lua_State *L, int udx, bool view) luaA_dofunction_from_registry(globalconf.L, globalconf.hooks.tags, 3, 0); } } + + luaA_object_emit_signal(L, udx, "property::selected", 0); } }