diff options
| author | Anselm R. Garbe <arg@10kloc.org> | 2006-10-05 19:27:28 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <arg@10kloc.org> | 2006-10-05 19:27:28 +0200 |
| commit | 10885d349a8426f0a55f34e78a2592267e8e55be (patch) | |
| tree | 6116c68fcc3ff6efbeb5c398d15e3ff5f2028930 /event.c | |
| parent | small boundary check fix (diff) | |
| download | dwm-10885d349a8426f0a55f34e78a2592267e8e55be.tar.gz dwm-10885d349a8426f0a55f34e78a2592267e8e55be.zip | |
removed the stack position stuff
Diffstat (limited to '')
| -rw-r--r-- | event.c | 8 |
1 files changed, 2 insertions, 6 deletions
| @@ -123,12 +123,8 @@ buttonpress(XEvent *e) { | |||
| 123 | return; | 123 | return; |
| 124 | } | 124 | } |
| 125 | } | 125 | } |
| 126 | if(ev->x < x + bmw) { | 126 | if((ev->x < x + bmw) && (ev->button == Button1)) |
| 127 | if(ev->button == Button1) | 127 | togglemode(NULL); |
| 128 | togglemode(NULL); | ||
| 129 | else if(ev->button == Button3) | ||
| 130 | togglestackpos(NULL); | ||
| 131 | } | ||
| 132 | } | 128 | } |
| 133 | else if((c = getclient(ev->window))) { | 129 | else if((c = getclient(ev->window))) { |
| 134 | focus(c); | 130 | focus(c); |
