tag: reset screen later
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
f473a107b0
commit
5e0c84b9fb
3
tag.c
3
tag.c
|
@ -101,7 +101,6 @@ tag_remove_from_screen(tag_t *tag)
|
||||||
ewmh_update_net_numbers_of_desktop(phys_screen);
|
ewmh_update_net_numbers_of_desktop(phys_screen);
|
||||||
ewmh_update_net_desktop_names(phys_screen);
|
ewmh_update_net_desktop_names(phys_screen);
|
||||||
ewmh_update_workarea(phys_screen);
|
ewmh_update_workarea(phys_screen);
|
||||||
tag->screen = NULL;
|
|
||||||
|
|
||||||
/* call hook */
|
/* call hook */
|
||||||
if(globalconf.hooks.tags != LUA_REFNIL)
|
if(globalconf.hooks.tags != LUA_REFNIL)
|
||||||
|
@ -112,6 +111,8 @@ tag_remove_from_screen(tag_t *tag)
|
||||||
luaA_dofunction(globalconf.L, globalconf.hooks.tags, 3, 0);
|
luaA_dofunction(globalconf.L, globalconf.hooks.tags, 3, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tag->screen = NULL;
|
||||||
|
|
||||||
tag_unref(globalconf.L, tag);
|
tag_unref(globalconf.L, tag);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue