summaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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) {
230 if((c = getclient(ev->window)) && isvisible(c)) 230 if((c = getclient(ev->window)) && isvisible(c))
231 focus(c); 231 focus(c);
232 else if(ev->window == root) { 232 else if(ev->window == root) {
233 issel = True; 233 activescreen = True;
234 for(c = stack; c && !isvisible(c); c = c->snext); 234 for(c = stack; c && !isvisible(c); c = c->snext);
235 focus(c); 235 focus(c);
236 } 236 }
@@ -269,7 +269,7 @@ leavenotify(XEvent *e) {
269 XCrossingEvent *ev = &e->xcrossing; 269 XCrossingEvent *ev = &e->xcrossing;
270 270
271 if((ev->window == root) && !ev->same_screen) { 271 if((ev->window == root) && !ev->same_screen) {
272 issel = False; 272 activescreen = False;
273 focus(NULL); 273 focus(NULL);
274 } 274 }
275} 275}