[tag] Add missing elements in tag_push_to_screen()
This commit is contained in:
parent
37087f61e0
commit
48482f3712
4
tag.c
4
tag.c
|
@ -84,8 +84,12 @@ tag_append_to_screen(tag_t *tag, int screen)
|
|||
void
|
||||
tag_push_to_screen(tag_t *tag, int screen)
|
||||
{
|
||||
int phys_screen = screen_virttophys(screen);
|
||||
|
||||
tag->screen = screen;
|
||||
tag_list_push(&globalconf.screens[screen].tags, tag);
|
||||
ewmh_update_net_numbers_of_desktop(phys_screen);
|
||||
ewmh_update_net_desktop_names(phys_screen);
|
||||
widget_invalidate_cache(screen, WIDGET_CACHE_TAGS);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue