diff options
| author | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-11 19:26:12 +0200 |
|---|---|---|
| committer | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-11 19:26:12 +0200 |
| commit | 292ccc4c43d9529cb6db0973fcab6e24c73607a5 (patch) | |
| tree | 55e0deb6352d8f2c967b38105d13ca1e3454fe95 /event.c | |
| parent | implement multi-tag selection through button3 click on the specific tag (diff) | |
| download | dwm-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 'event.c')
| -rw-r--r-- | event.c | 7 |
1 files changed, 2 insertions, 5 deletions
| @@ -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; |
