dwm

my fork of dwm
Index Commits Files Refs README LICENSE
commit 288098893c1502629fb8f23c43f2821af1c469c3
parent cb9607c284f978463be9e2628f115d9f41a49f89
Author: Anselm R. Garbe <arg@suckless.org>
Date:   Thu, 22 Feb 2007 11:09:44 +0100

removed button4/5-bindings for incnmaster on mode label - that is misleading
Diffstat:
Mdwm.1 | 6------
Mevent.c | 8--------
2 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/dwm.1 b/dwm.1
@@ -45,12 +45,6 @@ label toggles between tiling and versatile layout.
 .B Button3
 click on a tag label adds/removes all windows with that tag to/from the view.
 .TP
-.B Button4
-click on the layout label increases the number of windows in the master area (tiling layout only).
-.TP
-.B Button5
-click on the layout label decreases the number of windows in the master area (tiling layout only).
-.TP
 .B Mod1-Button1
 click on a tag label applies that tag to the focused window.
 .TP
diff --git a/event.c b/event.c
@@ -143,14 +143,6 @@ buttonpress(XEvent *e) {
                 a.i = -1;
                 setlayout(a);
                 break;
-            case Button4:
-                a.i = 1;
-                incnmaster(a);
-                break;
-            case Button5:
-                a.i = -1;
-                incnmaster(a);
-                break;
             }
     }
     else if((c = getclient(ev->window))) {