commit bcb5d5ff3d6785c354c4f81e7b9ac0053b060a1d
parent 8c68fa245d88434e22d6f52dd8a4b4c9e88f55e3
Author: Markus Pinkert <peters_mops@arcor.de>
Date: Sun, 25 Jul 2010 16:41:52 +0200
fixed typo
Diffstat:
2 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/dwm.suckless.org/patches/dwm-r1520-viewontag.diff b/dwm.suckless.org/patches/dwm-r1520-viewontag.diff
@@ -1,23 +0,0 @@
-diff -r 53d98940cb04 config.def.h
---- a/config.def.h Fri Jun 04 11:41:16 2010 +0100
-+++ b/config.def.h Sun Jun 13 22:53:04 2010 +0200
-@@ -12,6 +12,7 @@
- static const unsigned int snap = 32; /* snap pixel */
- static const Bool showbar = True; /* False means no bar */
- static const Bool topbar = True; /* False means bottom bar */
-+static const Bool viewonttag = True; /* Switch view on tag switch */
-
- /* tagging */
- static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
-diff -r 53d98940cb04 dwm.c
---- a/dwm.c Fri Jun 04 11:41:16 2010 +0100
-+++ b/dwm.c Sun Jun 13 22:53:04 2010 +0200
-@@ -1613,6 +1613,8 @@
- if(selmon->sel && arg->ui & TAGMASK) {
- selmon->sel->tags = arg->ui & TAGMASK;
- arrange(selmon);
-+ if(viewonttag)
-+ view(arg);
- }
- }
-
diff --git a/dwm.suckless.org/patches/dwm-r1522-viewontag.diff b/dwm.suckless.org/patches/dwm-r1522-viewontag.diff
@@ -0,0 +1,23 @@
+diff -r 0d86faf4b05c config.def.h
+--- a/config.def.h Sun Jul 25 09:58:25 2010 +0100
++++ b/config.def.h Sun Jul 25 16:32:38 2010 +0200
+@@ -12,6 +12,7 @@
+ static const unsigned int snap = 32; /* snap pixel */
+ static const Bool showbar = True; /* False means no bar */
+ static const Bool topbar = True; /* False means bottom bar */
++static const Bool viewontag = True; /* Switch view on tag switch */
+
+ /* tagging */
+ static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
+diff -r 0d86faf4b05c dwm.c
+--- a/dwm.c Sun Jul 25 09:58:25 2010 +0100
++++ b/dwm.c Sun Jul 25 16:32:38 2010 +0200
+@@ -1613,6 +1613,8 @@
+ if(selmon->sel && arg->ui & TAGMASK) {
+ selmon->sel->tags = arg->ui & TAGMASK;
+ arrange(selmon);
++ if(viewontag)
++ view(arg);
+ }
+ }
+