aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/awesome/files/patch-client.c
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2009-03-13 11:21:03 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2009-03-13 11:21:03 +0000
commit6ff2c256cf5b7170dff2025fd4110f49a76ad01b (patch)
tree6791afb45f973e3b57f0990c429eded0f0d041c3 /x11-wm/awesome/files/patch-client.c
parent0bb62c8c151cb190a81887cbc88ad56aa253528e (diff)
downloadports-6ff2c256cf5b7170dff2025fd4110f49a76ad01b.tar.gz
ports-6ff2c256cf5b7170dff2025fd4110f49a76ad01b.zip
Notes
Diffstat (limited to 'x11-wm/awesome/files/patch-client.c')
-rw-r--r--x11-wm/awesome/files/patch-client.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-wm/awesome/files/patch-client.c b/x11-wm/awesome/files/patch-client.c
index 8ca7dcd25a5e..4b76db9b58e1 100644
--- a/x11-wm/awesome/files/patch-client.c
+++ b/x11-wm/awesome/files/patch-client.c
@@ -1,5 +1,17 @@
--- client.c.orig 2009-01-08 12:04:44.000000000 +0200
+++ client.c 2009-01-31 21:03:28.000000000 +0200
+@@ -838,6 +838,11 @@ client_unmanage(client_t *c)
+ {
+ tag_array_t *tags = &globalconf.screens[c->screen].tags;
+
++ /* Reset transient_for attributes of widows that maybe refering to us */
++ for(client_t *tc = globalconf.clients; tc; tc = tc->next)
++ if(tc->transient_for == c)
++ tc->transient_for = NULL;
++
+ if(globalconf.screens[c->phys_screen].client_focus == c)
+ client_unfocus(c);
+
@@ -1455,7 +1455,7 @@
xcb_get_wm_class_unchecked(globalconf.connection, (*c)->win),
&hint, NULL))