diff options
| author | Anselm R. Garbe <arg@10kloc.org> | 2006-09-08 02:19:54 -0400 |
|---|---|---|
| committer | Anselm R. Garbe <arg@10kloc.org> | 2006-09-08 02:19:54 -0400 |
| commit | 0925dd588c6879916c8a9ded1e680963b093b068 (patch) | |
| tree | 5815385a168c5b74fefbff9899d2a26564bd5e97 /view.c | |
| parent | really small changes to dwm.1 (diff) | |
| download | dwm-0925dd588c6879916c8a9ded1e680963b093b068.tar.gz dwm-0925dd588c6879916c8a9ded1e680963b093b068.tar.bz2 dwm-0925dd588c6879916c8a9ded1e680963b093b068.zip | |
applied sanders patch of not manipulating sel
Diffstat (limited to 'view.c')
| -rw-r--r-- | view.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -77,8 +77,8 @@ dofloat(Arg *arg) ban(c); } if(!sel || !isvisible(sel)) { - for(sel = stack; sel && !isvisible(sel); sel = sel->snext); - focus(sel); + for(c = stack; c && !isvisible(c); c = c->snext); + focus(c); } restack(); } @@ -141,8 +141,8 @@ dotile(Arg *arg) ban(c); } if(!sel || !isvisible(sel)) { - for(sel = stack; sel && !isvisible(sel); sel = sel->snext); - focus(sel); + for(c = stack; c && !isvisible(c); c = c->snext); + focus(c); } restack(); } |
