summaryrefslogtreecommitdiffstats
path: root/compton.c
diff options
context:
space:
mode:
authorChristopher Jeffrey <chjjeffrey@gmail.com>2012-02-28 01:51:21 -0600
committerChristopher Jeffrey <chjjeffrey@gmail.com>2012-02-28 01:52:41 -0600
commit85de312fe7a794c4263b518098f248168cad242b (patch)
tree4cfacfe8f787b9b6253fe21e2162221559128edc /compton.c
parent614a1deb9ef3d6b3d2ca8a88b01d6b6dd7dc4d19 (diff)
downloadtdebase-85de312fe7a794c4263b518098f248168cad242b.tar.gz
tdebase-85de312fe7a794c4263b518098f248168cad242b.zip
stop listening for property events on client window after unmap
Diffstat (limited to 'compton.c')
-rw-r--r--compton.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/compton.c b/compton.c
index 1e2444b79..681a532db 100644
--- a/compton.c
+++ b/compton.c
@@ -1462,6 +1462,11 @@ unmap_win(Display *dpy, Window id, Bool fade) {
set_ignore(dpy, NextRequest(dpy));
XSelectInput(dpy, w->id, 0);
+ if (w->client_win) {
+ set_ignore(dpy, NextRequest(dpy));
+ XSelectInput(dpy, w->client_win, 0);
+ }
+
#if HAS_NAME_WINDOW_PIXMAP
if (w->pixmap && fade && win_type_fade[w->window_type]) {
set_fade(dpy, w, w->opacity * 1.0 / OPAQUE, 0.0,