From 2dd5212a795b27422d601df0566ae0d6644bd4c8 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Mon, 28 Aug 2006 08:02:29 +0200 Subject: applied sanders somepatches.patch --- event.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'event.c') diff --git a/event.c b/event.c index 3c83aa80..1d2227d2 100644 --- a/event.c +++ b/event.c @@ -116,8 +116,10 @@ buttonpress(XEvent *e) return; } } - if(ev->x < x + bmw) - togglemode(NULL); + if(ev->x < x + bmw) { + if(ev->button == Button1) + togglemode(NULL); + } } else if((c = getclient(ev->window))) { focus(c); -- cgit v1.2.3