diff options
| author | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-14 12:11:24 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <garbeam@wmii.de> | 2006-07-14 12:11:24 +0200 |
| commit | c2cf829ef9dbfe89775bb20a802432a785a9a04b (patch) | |
| tree | efff50a77cdef3533d04ac2479a8042e0b8efaf2 | |
| parent | small fix (diff) | |
| download | dwm-c2cf829ef9dbfe89775bb20a802432a785a9a04b.tar.gz dwm-c2cf829ef9dbfe89775bb20a802432a785a9a04b.zip | |
focus on view change as well
Diffstat (limited to '')
| -rw-r--r-- | client.c | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -65,6 +65,9 @@ view(Arg *arg) | |||
| 65 | tsel = arg->i; | 65 | tsel = arg->i; |
| 66 | arrange(NULL); | 66 | arrange(NULL); |
| 67 | 67 | ||
| 68 | if((c = next(clients))) | ||
| 69 | focus(c); | ||
| 70 | |||
| 68 | for(c = clients; c; c = next(c->next)) | 71 | for(c = clients; c; c = next(c->next)) |
| 69 | draw_client(c); | 72 | draw_client(c); |
| 70 | draw_bar(); | 73 | draw_bar(); |
