aewl

changeset 520:834a77509a64

Button3 click on mode label toggles stack position now
author Anselm R. Garbe <arg@10kloc.org>
date Thu, 05 Oct 2006 09:37:11 +0200
parents 6cad48068e4c
children 73afe7587bea
files dwm.1 event.c
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/dwm.1	Fri Sep 29 19:06:27 2006 +0200
     1.2 +++ b/dwm.1	Thu Oct 05 09:37:11 2006 +0200
     1.3 @@ -40,7 +40,8 @@
     1.4  label toggles between tiled and floating mode.
     1.5  .TP
     1.6  .B Button3
     1.7 -click on a tag label adds/removes all windows with that tag to/from the view.
     1.8 +click on a tag label adds/removes all windows with that tag to/from the view,
     1.9 +click on the mode label toggles the stack position (tiled mode).
    1.10  .TP
    1.11  .B Mod1-Button1
    1.12  click on a tag label applies that tag to the focused window.
    1.13 @@ -63,7 +64,7 @@
    1.14  Zooms/cycles current window to/from master area (tiling mode), toggles maximization current window (floating mode).
    1.15  .TP
    1.16  .B Mod1-b
    1.17 -Toggle stacking area position (tiling mode only).
    1.18 +Toggle stack position (tiling mode only).
    1.19  .TP
    1.20  .B Mod1-g
    1.21  Grow current area (tiling mode only).
     2.1 --- a/event.c	Fri Sep 29 19:06:27 2006 +0200
     2.2 +++ b/event.c	Thu Oct 05 09:37:11 2006 +0200
     2.3 @@ -126,6 +126,8 @@
     2.4  		if(ev->x < x + bmw) {
     2.5  			if(ev->button == Button1)
     2.6  				togglemode(NULL);
     2.7 +			else if(ev->button == Button3)
     2.8 +				togglestackpos(NULL);
     2.9  		}
    2.10  	}
    2.11  	else if((c = getclient(ev->window))) {