diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-05-14 11:54:30 +0200 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-05-14 11:54:30 +0200 |
commit | ab3d6a7dfe76d9857f2fc621034359a2a0bf09df (patch) | |
tree | 9738e466d2ea2b0e1107084b159f8a1b93f271af /event.c | |
parent | c67dbb28e47b03eca0c7faddcf7c9862c41694b7 (diff) | |
download | dwm-ab3d6a7dfe76d9857f2fc621034359a2a0bf09df.tar.gz |
applied dfenze cleanups, fixed some comments in dwm.h
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/event.c b/event.c index 12746f6..4c0e4e7 100644 --- a/event.c +++ b/event.c @@ -247,8 +247,7 @@ enternotify(XEvent *e) { focus(c); else if(ev->window == root) { selscreen = True; - for(c = stack; c && !isvisible(c); c = c->snext); - focus(c); + focustopvisible(); } } |