From 2272df9d3179ec639066614f4d36d18df16ff725 Mon Sep 17 00:00:00 2001 From: Anselm R.Garbe Date: Mon, 21 Aug 2006 09:03:14 +0200 Subject: applied Sanders focus_* patches, removed the unnecessary clean-prefix from the new function names --- event.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'event.c') 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; -- cgit v1.2.3