small changes

This commit is contained in:
Anselm R. Garbe
2007-01-23 12:29:17 +01:00
parent edb2660a2e
commit 71b84c2114
4 changed files with 11 additions and 9 deletions

View File

@ -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);
}
}