summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R.Garbe <arg@10ksloc.org>2006-08-11 19:26:12 +0200
committerAnselm R.Garbe <arg@10ksloc.org>2006-08-11 19:26:12 +0200
commit292ccc4c43d9529cb6db0973fcab6e24c73607a5 (patch)
tree55e0deb6352d8f2c967b38105d13ca1e3454fe95 /event.c
parentimplement multi-tag selection through button3 click on the specific tag (diff)
downloaddwm-292ccc4c43d9529cb6db0973fcab6e24c73607a5.tar.gz
dwm-292ccc4c43d9529cb6db0973fcab6e24c73607a5.zip
implemented viewextend and added M-S-C-n shortcuts for extending the current view... updated man page (works great!) nice feature
Diffstat (limited to '')
-rw-r--r--event.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/event.c b/event.c
index 05b42f0..e452167 100644
--- a/event.c
+++ b/event.c
@@ -108,11 +108,8 @@ buttonpress(XEvent *e)
108 for(a.i = 0; a.i < ntags; a.i++) { 108 for(a.i = 0; a.i < ntags; a.i++) {
109 x += textw(tags[a.i]); 109 x += textw(tags[a.i]);
110 if(ev->x < x) { 110 if(ev->x < x) {
111 if(ev->button == Button3) { 111 if(ev->button == Button3)
112 tsel[a.i] = True; 112 viewextend(&a);
113 arrange(NULL);
114 drawall();
115 }
116 else 113 else
117 view(&a); 114 view(&a);
118 return; 115 return;