changeset: 1396:440dda47ae5b
tag: tip
user: Anselm R Garbe <garbeam_AT_gmail.com>
date: Fri May 29 09:29:22 2009 +0100
files: config.def.h dwm.c
description:
removed MAXTAGLEN
diff -r a2c094196714 -r 440dda47ae5b config.def.h
--- a/config.def.h Mon Apr 20 11:03:33 2009 +0100
+++ b/config.def.h Fri May 29 09:29:22 2009 +0100
@@ -1,7 +1,7 @@
/* See LICENSE file for copyright and license details. */
/* appearance */
-static const char font[] = "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*";
+static const char font[] = "-*-*-medium-*-*-*-14-*-*-*-*-*-*-*";
static const char normbordercolor[] = "#cccccc";
static const char normbgcolor[] = "#cccccc";
static const char normfgcolor[] = "#000000";
@@ -14,7 +14,7 @@
static Bool topbar = True; /* False means bottom bar */
/* tagging */
-static const char tags[][MAXTAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
+static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
static unsigned int tagset[] = {1, 1}; /* after start, first tag is selected */
static Rule rules[] = {
diff -r a2c094196714 -r 440dda47ae5b dwm.c
--- a/dwm.c Mon Apr 20 11:03:33 2009 +0100
+++ b/dwm.c Fri May 29 09:29:22 2009 +0100
@@ -48,7 +48,6 @@
#define LENGTH(x) (sizeof x / sizeof x[0])
#define MAX(a, b) ((a) > (b) ? (a) : (b))
#define MIN(a, b) ((a) < (b) ? (a) : (b))
-#define MAXTAGLEN 16
#define MOUSEMASK (BUTTONMASK|PointerMotionMask)
#define WIDTH(x) ((x)->w + 2 * (x)->bw)
#define HEIGHT(x) ((x)->h + 2 * (x)->bw)
Received on Fri May 29 2009 - 08:30:34 UTC
This archive was generated by hypermail 2.2.0 : Fri May 29 2009 - 08:36:05 UTC