Xinqi Bao's Git
projects
/
dwm.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(parent:
e3fd306
)
focus on view change as well
author
Anselm R. Garbe <
[email protected]
>
Fri, 14 Jul 2006 10:11:24 +0000
(12:11 +0200)
committer
Anselm R. Garbe <
[email protected]
>
Fri, 14 Jul 2006 10:11:24 +0000
(12:11 +0200)
client.c
diff
|
blob
|
history
diff --git
a/client.c
b/client.c
index
3aae7e0
..
029a59c
100644
(file)
--- 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();