summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-08-28 08:02:29 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-08-28 08:02:29 +0200
commit2dd5212a795b27422d601df0566ae0d6644bd4c8 (patch)
tree6d2bb1e654511bbf9a0ee8a762d93d75eb320e16 /event.c
parentoh frking dear big font... (diff)
downloaddwm-2dd5212a795b27422d601df0566ae0d6644bd4c8.tar.gz
dwm-2dd5212a795b27422d601df0566ae0d6644bd4c8.zip
applied sanders somepatches.patch
Diffstat (limited to 'event.c')
-rw-r--r--event.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/event.c b/event.c
index 3c83aa8..1d2227d 100644
--- a/event.c
+++ b/event.c
@@ -116,8 +116,10 @@ buttonpress(XEvent *e)
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);