Tie group number and name together during config.

This commit is contained in:
okan
2019-03-01 14:32:01 +00:00
parent ae231f67d0
commit 9d25218458
4 changed files with 32 additions and 13 deletions

View File

@@ -40,7 +40,6 @@ screen_init(int which)
Window *wins, w0, w1, active = None;
XSetWindowAttributes rootattr;
unsigned int nwins, w;
int i;
sc = xmalloc(sizeof(*sc));
@@ -61,9 +60,7 @@ screen_init(int which)
xu_ewmh_net_supported_wm_check(sc);
screen_update_geometry(sc);
for (i = 0; i < Conf.ngroups; i++)
group_init(sc, i);
conf_group(sc);
xu_ewmh_net_desktop_names(sc);
xu_ewmh_net_wm_desktop_viewport(sc);