going toward 4.7

This commit is contained in:
Anselm R. Garbe 2007-10-27 18:12:54 +02:00
parent d5e8edcbcb
commit 93eee247ca
3 changed files with 4 additions and 5 deletions

View file

@ -13,6 +13,9 @@
/* tagging */ /* tagging */
const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "www" }; 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[] = { Rule rules[] = {
/* class:instance:title regex tags regex isfloating */ /* class:instance:title regex tags regex isfloating */
{ "Firefox", "www", False }, { "Firefox", "www", False },

View file

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

4
dwm.c
View file

@ -232,10 +232,6 @@ Regs *regs = NULL;
/* configuration, allows nested code to access above variables */ /* configuration, allows nested code to access above variables */
#include "config.h" #include "config.h"
#define NTAGS (sizeof tags / sizeof tags[0])
Bool seltags[NTAGS] = {[0] = True};
Bool prevtags[NTAGS] = {[0] = True};
/* function implementations */ /* function implementations */
void void
applyrules(Client *c) { applyrules(Client *c) {