Selaa lähdekoodia

removed button4/5-bindings for incnmaster on mode label - that is misleading

Anselm R. Garbe 18 vuotta sitten
vanhempi
commit
288098893c
2 muutettua tiedostoa jossa 0 lisäystä ja 14 poistoa
  1. 0 6
      dwm.1
  2. 0 8
      event.c

+ 0 - 6
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

+ 0 - 8
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))) {