[dwm] infinityX's viewmode patch [bug]

From: <dfenze_AT_gmail.com>
Date: Sun, 18 Mar 2007 17:00:56 +0100

Hi,

found error in viewmode patch. If you try to show-up all tag (default in
tapping $MODKEY-0) the dwm segfaulted. Repair is easy: after applying
all of the infinityX's patches, apply this one:

============ 8< PATCH
--- layout.orig 2007-03-18 16:45:09.000000000 +0100
+++ layout.c 2007-03-18 16:45:35.000000000 +0100
@@ -95,6 +95,8 @@
   void
   checkmode(const char *arg) {
   int i;
+
+ if (!arg) return;
   i = atoi(arg);

   if (lt != &layout[viewmodes[i]]) {
============ 8< /PATCH

-Ph
Received on Sun Mar 18 2007 - 17:01:01 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:39:28 UTC