Explorar el Código

going toward 4.7

Anselm R. Garbe hace 18 años
padre
commit
93eee247ca
Se han modificado 3 ficheros con 4 adiciones y 5 borrados
  1. 3 0
      config.def.h
  2. 1 1
      config.mk
  3. 0 4
      dwm.c

+ 3 - 0
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 },

+ 1 - 1
config.mk

@@ -1,5 +1,5 @@
 # dwm version
-VERSION = 4.6
+VERSION = 4.7
 
 # Customize below to fit your system
 

+ 0 - 4
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) {