Mercurial > dwm-meillo
comparison 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 |
comparison
equal
deleted
inserted
replaced
261:d6fd632d861c | 262:d659a2dce2b5 |
---|---|
106 default: | 106 default: |
107 x = 0; | 107 x = 0; |
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; |
119 } | 116 } |
120 } | 117 } |