summary refs log tree commit diff
path: root/screen.c
diff options
context:
space:
mode:
authorokan <okan>2016-10-04 15:18:20 +0000
committerokan <okan>2016-10-04 15:18:20 +0000
commit9306c1fbd3e491b9dcdcbb8587460296843a10ce (patch)
treee2851b48a7e80954e8556f5336865763133a794e /screen.c
parent8aa5033d12eec5e764885f3e8b27c1df22d6b0df (diff)
downloadcwm-9306c1fbd3e491b9dcdcbb8587460296843a10ce.tar.gz
cwm-9306c1fbd3e491b9dcdcbb8587460296843a10ce.tar.xz
cwm-9306c1fbd3e491b9dcdcbb8587460296843a10ce.zip
Turn CALMWM_NGROUPS define into variable, ngroups.
Diffstat (limited to 'screen.c')
-rw-r--r--screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screen.c b/screen.c
index 7f2132f..79e7cc5 100644
--- a/screen.c
+++ b/screen.c
@@ -57,7 +57,7 @@ screen_init(int which)
 
 	screen_update_geometry(sc);
 
-	for (i = 0; i < CALMWM_NGROUPS; i++)
+	for (i = 0; i < Conf.ngroups; i++)
 		group_init(sc, i);
 
 	xu_ewmh_net_desktop_names(sc);