From d64d353d5b7991381e74594664ccc68c3935f872 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 29 Oct 2007 20:21:13 +0100 Subject: [PATCH] fix mouse wheel on root window for Xinerama --- event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/event.c b/event.c index 7f2b628b..99d732f8 100644 --- a/event.c +++ b/event.c @@ -234,7 +234,7 @@ handle_event_buttonpress(XEvent * e, awesome_config *awesomeconf) else if(ev->button == Button5) uicb_settrans(&awesomeconf[c->screen], "-5"); } - else if(!get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel) + else for(screen = 0; screen < ScreenCount(e->xany.display); screen++) if(RootWindow(e->xany.display, screen) == ev->window && XQueryPointer(e->xany.display, ev->window, &wdummy, &wdummy, &x, &y, &i, &i, &udummy))