Mercurial > aewl
comparison event.c @ 371:fc9d35252ab4
applied sanders somepatches.patch
author | Anselm R. Garbe <arg@10kloc.org> |
---|---|
date | Mon, 28 Aug 2006 08:02:29 +0200 |
parents | ba6c55e1b9b2 |
children | a9b4077ec058 |
comparison
equal
deleted
inserted
replaced
370:615b8b2e9457 | 371:fc9d35252ab4 |
---|---|
114 else if(ev->button == Button3) | 114 else if(ev->button == Button3) |
115 toggleview(&a); | 115 toggleview(&a); |
116 return; | 116 return; |
117 } | 117 } |
118 } | 118 } |
119 if(ev->x < x + bmw) | 119 if(ev->x < x + bmw) { |
120 togglemode(NULL); | 120 if(ev->button == Button1) |
121 togglemode(NULL); | |
122 } | |
121 } | 123 } |
122 else if((c = getclient(ev->window))) { | 124 else if((c = getclient(ev->window))) { |
123 focus(c); | 125 focus(c); |
124 if(CLEANMASK(ev->state) == 0) | 126 if(CLEANMASK(ev->state) == 0) |
125 return; | 127 return; |