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 /client.c | |
parent | e3fd306ee2aa5b92bf4fba339a1ef0d88a97a5dc (diff) | |
download | dwm-c2cf829ef9dbfe89775bb20a802432a785a9a04b.tar.gz |
focus on view change as well
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client.c b/client.c index 3aae7e0..029a59c 100644 --- a/client.c +++ b/client.c @@ -65,6 +65,9 @@ view(Arg *arg) tsel = arg->i; arrange(NULL); + if((c = next(clients))) + focus(c); + for(c = clients; c; c = next(c->next)) draw_client(c); draw_bar(); |