From 790fa25ed52b95219aed157cd14800cddba63a87 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Sun, 16 Sep 2007 15:04:40 +0200 Subject: [PATCH] bug fix: wheel on root was infinite looping I got you fucking bug! --- event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event.c b/event.c index 627d9a1e6..b2c3231e4 100644 --- a/event.c +++ b/event.c @@ -198,7 +198,7 @@ handle_event_buttonpress(XEvent * e, awesome_config *awesomeconf) } } else if(!sel) - for(screen = 0; screen < ScreenCount(e->xany.display); i++) + for(screen = 0; screen < ScreenCount(e->xany.display); screen++) if(RootWindow(e->xany.display, screen) == ev->window) { if(ev->button == Button4)