From: Anselm R. Garbe Date: Sat, 27 Oct 2007 16:12:54 +0000 (+0200) Subject: going toward 4.7 X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=93eee247caa059f67f7665dee3626e5171f5e793;p=dwm.git going toward 4.7 --- 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) {