dwm-meillo

diff event.c @ 262:d659a2dce2b5

implemented viewextend and added M-S-C-n shortcuts for extending the current view... updated man page (works great!) nice feature
author Anselm R.Garbe <arg@10ksloc.org>
date Fri, 11 Aug 2006 19:26:12 +0200
parents d6fd632d861c
children 118d3e010e5e
line diff
     1.1 --- a/event.c	Fri Aug 11 18:37:41 2006 +0200
     1.2 +++ b/event.c	Fri Aug 11 19:26:12 2006 +0200
     1.3 @@ -108,11 +108,8 @@
     1.4  			for(a.i = 0; a.i < ntags; a.i++) {
     1.5  				x += textw(tags[a.i]);
     1.6  				if(ev->x < x) {
     1.7 -					if(ev->button == Button3) {
     1.8 -						tsel[a.i] = True;
     1.9 -						arrange(NULL);
    1.10 -						drawall();
    1.11 -					}
    1.12 +					if(ev->button == Button3)
    1.13 +						viewextend(&a);
    1.14  					else
    1.15  						view(&a);
    1.16  					return;