going toward 4.7 - dwm - dynamic window manager (HTM) git clone https://git.parazyd.org/dwm (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 93eee247caa059f67f7665dee3626e5171f5e793 (DIR) parent d5e8edcbcb341509ca3924fed67ca4f41fb5453b (HTM) Author: Anselm R. Garbe <garbeam@gmail.com> Date: Sat, 27 Oct 2007 18:12:54 +0200 going toward 4.7 Diffstat: M config.def.h | 3 +++ M config.mk | 2 +- M dwm.c | 4 ---- 3 files changed, 4 insertions(+), 5 deletions(-) --- (DIR) diff --git 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 }, (DIR) diff --git a/config.mk b/config.mk @@ -1,5 +1,5 @@ # dwm version -VERSION = 4.6 +VERSION = 4.7 # Customize below to fit your system (DIR) diff --git 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) {