diff options
author | okan | 2019-03-01 14:32:01 +0000 |
---|---|---|
committer | okan | 2019-03-01 14:32:01 +0000 |
commit | e1d11722a750db804d9c601e9bf771ec5b8ec868 (patch) | |
tree | a51e4a685c116ba2e5805d2a6f5721d278c6a239 /screen.c | |
parent | a2862aa36ac4cfd2b613edc356bf0ebfdaeec84e (diff) | |
download | cwm-e1d11722a750db804d9c601e9bf771ec5b8ec868.tar.gz |
Tie group number and name together during config.
Diffstat (limited to 'screen.c')
-rw-r--r-- | screen.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: screen.c,v 1.88 2018/02/13 15:43:16 okan Exp $ + * $OpenBSD: screen.c,v 1.89 2019/03/01 14:32:01 okan Exp $ */ #include <sys/types.h> @@ -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); |