use tag_view_byindex()

This commit is contained in:
Julien Danjou 2008-01-23 08:45:16 +01:00
parent 6a05197297
commit 4f2febc1a7
1 changed files with 1 additions and 7 deletions

View File

@ -27,7 +27,6 @@
#include "focus.h"
#include "widget.h"
#include "window.h"
#include "ewmh.h"
#include "client.h"
#include "screen.h"
#include "layouts/tile.h"
@ -135,14 +134,9 @@ loadawesomeprops(int screen)
XInternAtom(globalconf.display, "_AWESOME_PROPERTIES", False),
prop, ntags + 1))
for(i = 0, tag = globalconf.screens[screen].tags; tag && prop[i]; i++, tag = tag->next)
if(prop[i] == '1')
tag->selected = True;
else
tag->selected = False;
tag_view_byindex(screen, i, prop[i] == '1');
p_delete(&prop);
ewmh_update_net_current_desktop(get_phys_screen(screen));
}
void