aboutsummaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-01-23 12:29:17 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-23 12:29:17 +0100
commit71b84c21149adb7adff6140a1f471c4a294edd4b (patch)
tree05ebdbb11aedafabec4e632b3962522658ffb570 /event.c
parentedb2660a2e61e300fb47a9a15fb264fca5c9895e (diff)
downloaddwm-71b84c21149adb7adff6140a1f471c4a294edd4b.tar.zst
small changes
Diffstat (limited to 'event.c')
-rw-r--r--event.c4
1 files changed, 2 insertions, 2 deletions
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);
}
}