aboutsummaryrefslogtreecommitdiffstats
path: root/event.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-01-23 17:12:15 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-23 17:12:15 +0100
commit87836d79ef90e6c764d94c229183179a36eb699a (patch)
treeaf8cedf98db527f52d59fda1f9accf9653ff7cad /event.c
parentc8a12a0852a9befbf5a073910e8b0291914f80ab (diff)
downloaddwm-87836d79ef90e6c764d94c229183179a36eb699a.tar.gz
renamed activescreen into selscreen
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 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);
}
}