tfocus on view change as well - dwm - [fork] customized build of dwm, the dynam… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit c2cf829ef9dbfe89775bb20a802432a785a9a04b | |
parent e3fd306ee2aa5b92bf4fba339a1ef0d88a97a5dc | |
Author: Anselm R. Garbe <[email protected]> | |
Date: Fri, 14 Jul 2006 12:11:24 +0200 | |
focus on view change as well | |
Diffstat: | |
M client.c | 3 +++ | |
1 file changed, 3 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/client.c b/client.c | |
t@@ -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(); |