]> git.armaanb.net Git - dwm.git/commitdiff
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 5cee3f0bcfbb64e10bee989a3d1675f9600bf6fb..25ec66b227b098673465c1a6050e63417bda0003 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 540aeb64ec46023c1faf7ae05cd8ae637f9e95b7..f765fe11e68acf5d68bb5b0b542955b6c5a10dba 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))) {