summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-08-28 08:06:50 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-08-28 08:06:50 +0200
commit0a25fe91888f30a382ca0cfb492283ce9aa3296c (patch)
tree695d8ff6434b1d742fdf5be2327632e8c02328b8 /event.c
parent2dd5212a795b27422d601df0566ae0d6644bd4c8 (diff)
applied sanders focus_ patches
Diffstat (limited to 'event.c')
-rw-r--r--event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event.c b/event.c
index 1d2227d..c7a0b15 100644
--- a/event.c
+++ b/event.c
@@ -123,7 +123,7 @@ buttonpress(XEvent *e)
}
else if((c = getclient(ev->window))) {
focus(c);
- if(CLEANMASK(ev->state) == 0)
+ if(CLEANMASK(ev->state) != MODKEY)
return;
switch(ev->button) {
default: