remove another DefaultRootWindow
This commit is contained in:
parent
024fba4649
commit
94824d2314
4
event.c
4
event.c
|
@ -194,7 +194,9 @@ handle_event_buttonpress(XEvent * e, awesome_config *awesomeconf)
|
|||
resizemouse(c, awesomeconf);
|
||||
}
|
||||
}
|
||||
else if(DefaultRootWindow(e->xany.display) == ev->window && !sel)
|
||||
else if(!sel)
|
||||
for(i = 0; i < ScreenCount(e->xany.display); i++)
|
||||
if(RootWindow(e->xany.display, i) == ev->window)
|
||||
{
|
||||
if(ev->button == Button4)
|
||||
uicb_tag_viewnext(e->xany.display, &dc, awesomeconf, NULL);
|
||||
|
|
Loading…
Reference in New Issue