about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--client.c8
-rw-r--r--config.mk2
2 files changed, 9 insertions, 1 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)
 		}
 	}
 	if(c) {
+		if((c->isfloat || arrange == dofloat) && (c != clients)) {
+			detach(c);
+			if(clients) {
+				clients->prev = c;
+				c->next = clients;
+			}
+			clients = c;
+		}
 		grabbuttons(c, True);
 		drawtitle(c);
 		XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime);
diff --git a/config.mk b/config.mk
index 0a86a54..d4b16f7 100644
--- a/config.mk
+++ b/config.mk
@@ -1,5 +1,5 @@
 # dwm version
-VERSION = 1.4
+VERSION = 1.5
 
 # Customize below to fit your system
 
nd $FREETYPEINC, simpler to override (ports and *BSDs)' href='/acidbong/suckless/dwm/commit/config.mk?id=40529e1469b399114048185e1d5b7237b1cc7f3e'>40529e1 ^
cd0773c ^
40529e1 ^
1076f2b
40529e1 ^

1076f2b
7b5638f ^
c82db69 ^
907db0a ^
1479e76 ^
3cd4023 ^
d7e1708 ^
71fd06f ^


71fd06f ^
95766d6 ^
1076f2b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39