JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
removed button4/5-bindings for incnmaster on mode label - that is misleading
authorAnselm R. Garbe <arg@suckless.org>
Thu, 22 Feb 2007 10:09:44 +0000 (11:09 +0100)
committerAnselm R. Garbe <arg@suckless.org>
Thu, 22 Feb 2007 10:09:44 +0000 (11:09 +0100)
dwm.1
event.c

diff --git a/dwm.1 b/dwm.1
index 5cee3f0..25ec66b 100644 (file)
--- 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
index 540aeb6..f765fe1 100644 (file)
--- 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))) {