summaryrefslogtreecommitdiffstats
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
parentimplemented Sanders remarks (diff)
downloaddwm-87836d79ef90e6c764d94c229183179a36eb699a.tar.gz
dwm-87836d79ef90e6c764d94c229183179a36eb699a.zip
renamed activescreen into selscreen
Diffstat (limited to '')
-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) {
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 activescreen = True; 233 selscreen = 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 activescreen = False; 272 selscreen = False;
273 focus(NULL); 273 focus(NULL);
274 } 274 }
275} 275}