From 93eee247caa059f67f7665dee3626e5171f5e793 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Sat, 27 Oct 2007 18:12:54 +0200 Subject: [PATCH] going toward 4.7 --- config.def.h | 3 +++ config.mk | 2 +- dwm.c | 4 ---- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/config.def.h b/config.def.h index e8ab532..fd37293 100644 --- a/config.def.h +++ b/config.def.h @@ -13,6 +13,9 @@ /* tagging */ const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "www" }; +#define NTAGS (sizeof tags / sizeof tags[0]) +Bool seltags[NTAGS] = {[0] = True}; +Bool prevtags[NTAGS] = {[0] = True}; Rule rules[] = { /* class:instance:title regex tags regex isfloating */ { "Firefox", "www", False }, diff --git a/config.mk b/config.mk index 9944f2a..b3fe193 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # dwm version -VERSION = 4.6 +VERSION = 4.7 # Customize below to fit your system diff --git a/dwm.c b/dwm.c index 487fafb..72af32f 100644 --- a/dwm.c +++ b/dwm.c @@ -232,10 +232,6 @@ Regs *regs = NULL; /* configuration, allows nested code to access above variables */ #include "config.h" -#define NTAGS (sizeof tags / sizeof tags[0]) -Bool seltags[NTAGS] = {[0] = True}; -Bool prevtags[NTAGS] = {[0] = True}; - /* function implementations */ void applyrules(Client *c) {