X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=event.c;h=4f0778958c20109e73f306f5fadc79d07e03eaf4;hb=71b84c21149adb7adff6140a1f471c4a294edd4b;hp=c913320bfc2acb9ca3601f6af256144dc04f02f7;hpb=373b11de11fd5cee875ef521e3ac0527565c4721;p=dwm.git diff --git a/event.c b/event.c index c913320..4f07789 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) { - issel = True; + activescreen = 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) { - issel = False; + activescreen = False; focus(NULL); } }