diff options
| author | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-14 18:14:08 +0200 |
|---|---|---|
| committer | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-14 18:14:08 +0200 |
| commit | 3e06edeb5df0aa95614cb0b11ba1931f01b6f337 (patch) | |
| tree | 694fd3ea71771cb4d6f478a6278cad3041c23707 /event.c | |
| parent | applied sanders tag()/toggletag() fixes (diff) | |
| download | dwm-3e06edeb5df0aa95614cb0b11ba1931f01b6f337.tar.gz dwm-3e06edeb5df0aa95614cb0b11ba1931f01b6f337.zip | |
applied sanders man page patch, removed button2 from bar click
Diffstat (limited to '')
| -rw-r--r-- | event.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -109,10 +109,10 @@ buttonpress(XEvent *e) | |||
| 109 | for(a.i = 0; a.i < ntags; a.i++) { | 109 | for(a.i = 0; a.i < ntags; a.i++) { |
| 110 | x += textw(tags[a.i]); | 110 | x += textw(tags[a.i]); |
| 111 | if(ev->x < x) { | 111 | if(ev->x < x) { |
| 112 | if(ev->button == Button3) | 112 | if(ev->button == Button1) |
| 113 | toggleview(&a); | ||
| 114 | else | ||
| 115 | view(&a); | 113 | view(&a); |
| 114 | else if(ev->button == Button3) | ||
| 115 | toggleview(&a); | ||
| 116 | return; | 116 | return; |
| 117 | } | 117 | } |
| 118 | } | 118 | } |
