bug fix: wheel on root was infinite looping
I got you fucking bug!
This commit is contained in:
parent
fd1fa80641
commit
790fa25ed5
2
event.c
2
event.c
|
@ -198,7 +198,7 @@ handle_event_buttonpress(XEvent * e, awesome_config *awesomeconf)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if(!sel)
|
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(RootWindow(e->xany.display, screen) == ev->window)
|
||||||
{
|
{
|
||||||
if(ev->button == Button4)
|
if(ev->button == Button4)
|
||||||
|
|
Loading…
Reference in New Issue