Mercurial > aewl
comparison event.c @ 288:b7865e6feef2
applied sanders man page patch, removed button2 from bar click
author | Anselm R.Garbe <arg@10ksloc.org> |
---|---|
date | Mon, 14 Aug 2006 18:14:08 +0200 |
parents | ff501d94de62 |
children | 8e6e0aa5e2ae |
comparison
equal
deleted
inserted
replaced
287:5e5e5392c7cb | 288:b7865e6feef2 |
---|---|
107 if(barwin == ev->window) { | 107 if(barwin == ev->window) { |
108 x = 0; | 108 x = 0; |
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 view(&a); | |
114 else if(ev->button == Button3) | |
113 toggleview(&a); | 115 toggleview(&a); |
114 else | |
115 view(&a); | |
116 return; | 116 return; |
117 } | 117 } |
118 } | 118 } |
119 } | 119 } |
120 else if((c = getclient(ev->window))) { | 120 else if((c = getclient(ev->window))) { |