summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'client.c')
-rw-r--r--client.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/client.c b/client.c
index 586a87f..46693cd 100644
--- a/client.c
+++ b/client.c
@@ -99,6 +99,14 @@ focus(Client *c)
99 } 99 }
100 } 100 }
101 if(c) { 101 if(c) {
102 if((c->isfloat || arrange == dofloat) && (c != clients)) {
103 detach(c);
104 if(clients) {
105 clients->prev = c;
106 c->next = clients;
107 }
108 clients = c;
109 }
102 grabbuttons(c, True); 110 grabbuttons(c, True);
103 drawtitle(c); 111 drawtitle(c);
104 XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); 112 XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);