tag: emit selected signal after banning change

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-09-23 15:46:42 +02:00
parent 1bf296dfce
commit 539af16a65
1 changed files with 2 additions and 2 deletions

4
tag.c
View File

@ -79,8 +79,6 @@ tag_view(lua_State *L, int udx, bool view)
{ {
tag->selected = view; tag->selected = view;
luaA_object_emit_signal(L, udx, "property::selected", 0);
if(tag->screen) if(tag->screen)
{ {
int screen_index = screen_array_indexof(&globalconf.screens, 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_dofunction_from_registry(globalconf.L, globalconf.hooks.tags, 3, 0);
} }
} }
luaA_object_emit_signal(L, udx, "property::selected", 0);
} }
} }