diff options
author | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-21 09:03:14 +0200 |
---|---|---|
committer | Anselm R.Garbe <arg@10ksloc.org> | 2006-08-21 09:03:14 +0200 |
commit | 2272df9d3179ec639066614f4d36d18df16ff725 (patch) | |
tree | cfb041f3b9838c669942dda1fcaab2ef34eaa89a /event.c | |
parent | 08d85d6d66bc4493414d76e470e473fa689c5990 (diff) | |
download | dwm-2272df9d3179ec639066614f4d36d18df16ff725.tar.gz |
applied Sanders focus_* patches, removed the unnecessary clean-prefix from the new function names
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/event.c b/event.c index 5209be3..c2288f4 100644 --- a/event.c +++ b/event.c @@ -119,6 +119,8 @@ buttonpress(XEvent *e) } else if((c = getclient(ev->window))) { focus(c); + if(CLEANMASK(ev->state) == 0) + return; switch(ev->button) { default: break; |