summary refs log tree commit diff
path: root/calmwm.h
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 /calmwm.h
parent8aa5033d12eec5e764885f3e8b27c1df22d6b0df (diff)
downloadcwm-9306c1fbd3e491b9dcdcbb8587460296843a10ce.tar.gz
cwm-9306c1fbd3e491b9dcdcbb8587460296843a10ce.tar.xz
cwm-9306c1fbd3e491b9dcdcbb8587460296843a10ce.zip
Turn CALMWM_NGROUPS define into variable, ngroups.
Diffstat (limited to 'calmwm.h')
-rw-r--r--calmwm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/calmwm.h b/calmwm.h
index 4381f62..d9734d9 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -235,7 +235,6 @@ struct screen_ctx {
 	struct gap		 gap;
 	struct client_ctx_q	 clientq;
 	struct region_ctx_q	 regionq;
-#define CALMWM_NGROUPS		 10
 	struct group_ctx_q	 groupq;
 	struct group_ctx	*group_active;
 	struct {
@@ -283,6 +282,7 @@ struct conf {
 	struct autogroupwin_q	 autogroupq;
 	struct ignore_q		 ignoreq;
 	struct cmd_q		 cmdq;
+	int			 ngroups;
 	int			 stickygroups;
 	int			 bwidth;
 	int			 mamount;