bug fix: wheel on root was infinite looping

I got you fucking bug!
This commit is contained in:
Julien Danjou 2007-09-16 15:04:40 +02:00
parent fd1fa80641
commit 790fa25ed5
1 changed files with 1 additions and 1 deletions

View File

@ -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)