X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=event.c;h=418e986493800befb7ec7fd1321541aa7e2645a5;hb=bced9077f963be2bce4f0c60023c3b48af54b8e9;hp=4f0778958c20109e73f306f5fadc79d07e03eaf4;hpb=71b84c21149adb7adff6140a1f471c4a294edd4b;p=dwm.git diff --git a/event.c b/event.c index 4f07789..418e986 100644 --- a/event.c +++ b/event.c @@ -230,7 +230,7 @@ enternotify(XEvent *e) { if((c = getclient(ev->window)) && isvisible(c)) focus(c); else if(ev->window == root) { - activescreen = True; + selscreen = True; for(c = stack; c && !isvisible(c); c = c->snext); focus(c); } @@ -269,7 +269,7 @@ leavenotify(XEvent *e) { XCrossingEvent *ev = &e->xcrossing; if((ev->window == root) && !ev->same_screen) { - activescreen = False; + selscreen = False; focus(NULL); } }