summaryrefslogtreecommitdiff
path: root/dwm.c.rej
diff options
context:
space:
mode:
authorP.P.A <adolphs@moselle.moe>2023-07-08 00:32:37 +0200
committerP.P.A <adolphs@moselle.moe>2023-07-08 00:32:37 +0200
commitcae46b25bafe946de40006303b39b484431aabbf (patch)
treee96b76b86d5d1805aef41b3b0863cf69b5036863 /dwm.c.rej
parenta1e20be288ce935d97c087a9e3033238f9fc66fc (diff)
swallow
Diffstat (limited to 'dwm.c.rej')
-rw-r--r--dwm.c.rej12
1 files changed, 12 insertions, 0 deletions
diff --git a/dwm.c.rej b/dwm.c.rej
new file mode 100644
index 0000000..80303f8
--- /dev/null
+++ b/dwm.c.rej
@@ -0,0 +1,12 @@
+--- dwm.c
++++ dwm.c
+@@ -723,6 +790,9 @@ destroynotify(XEvent *e)
+
+ if ((c = wintoclient(ev->window)))
+ unmanage(c, 1);
++
++ else if ((c = swallowingclient(ev->window)))
++ unmanage(c->swallowing, 1);
+ }
+
+ void