aboutsummaryrefslogtreecommitdiffstats
path: root/calmwm.h
diff options
context:
space:
mode:
authorokan2016-10-04 15:18:20 +0000
committerokan2016-10-04 15:18:20 +0000
commit2e16db28638cf0e78e6ddae11521a1f589179f67 (patch)
treef968e38ac24cbd0b42a301ffcc7cefd2a5052415 /calmwm.h
parentda816a4a2336765be3b75ca8c08375463fdf31b8 (diff)
downloadcwm-2e16db28638cf0e78e6ddae11521a1f589179f67.tar.gz
Turn CALMWM_NGROUPS define into variable, ngroups.
Diffstat (limited to '')
-rw-r--r--calmwm.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/calmwm.h b/calmwm.h
index c337835..b70c4db 100644
--- a/calmwm.h
+++ b/calmwm.h
@@ -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: calmwm.h,v 1.321 2016/10/03 18:43:49 okan Exp $
+ * $OpenBSD: calmwm.h,v 1.322 2016/10/04 15:18:20 okan Exp $
*/
#ifndef _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;