X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=event.c;h=418e986493800befb7ec7fd1321541aa7e2645a5;hb=87836d79ef90e6c764d94c229183179a36eb699a;hp=4f0778958c20109e73f306f5fadc79d07e03eaf4;hpb=c8a12a0852a9befbf5a073910e8b0291914f80ab;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); } }