projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2378a55
)
seems to preserve floating client z-layer order (even with reorder() calls)
author
Anselm R. Garbe
<arg@10kloc.org>
Wed, 6 Sep 2006 09:46:35 +0000
(11:46 +0200)
committer
Anselm R. Garbe
<arg@10kloc.org>
Wed, 6 Sep 2006 09:46:35 +0000
(11:46 +0200)
client.c
patch
|
blob
|
history
config.mk
patch
|
blob
|
history
diff --git
a/client.c
b/client.c
index 586a87f696bf9d9a030387d67d83853b2b891a67..46693cd7cc4cdbb2c76e966c9f7cb02373313375 100644
(file)
--- 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 0a86a54cddc7d0ca8e8521ad385a5f5f339fd4db..d4b16f77591afcbc559ff31a7296f906d2accc6c 100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-1,5
+1,5
@@
# dwm version
-VERSION = 1.
4
+VERSION = 1.
5
# Customize below to fit your system