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 wrap: on
line diff
--- a/event.c	Fri Aug 11 18:37:41 2006 +0200
+++ b/event.c	Fri Aug 11 19:26:12 2006 +0200
@@ -108,11 +108,8 @@
 			for(a.i = 0; a.i < ntags; a.i++) {
 				x += textw(tags[a.i]);
 				if(ev->x < x) {
-					if(ev->button == Button3) {
-						tsel[a.i] = True;
-						arrange(NULL);
-						drawall();
-					}
+					if(ev->button == Button3)
+						viewextend(&a);
 					else
 						view(&a);
 					return;