From aa50f6e1797deb086a19ca436bbc4d03dcdf7da4 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Thu, 13 Apr 2006 12:21:08 +0200 Subject: [PATCH] fixed forgotten def.mod occurence in event.c --- cmd/wm/event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/wm/event.c b/cmd/wm/event.c index ef3073a1..03c53280 100644 --- a/cmd/wm/event.c +++ b/cmd/wm/event.c @@ -70,7 +70,7 @@ handle_buttonpress(XEvent *e) } else if((c = frame_of_win(ev->window))) { ev->state &= valid_mask; - if((ev->state & Mod1Mask) && (ev->button == Button3)) { + if((ev->state & def.mod) && (ev->button == Button3)) { if(sel_client() != c) focus(c); else {