From 674ac5b6cdfea6b6c5ea1f62b65404dfc2b4a089 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 28 Feb 2012 01:51:21 -0600 Subject: [PATCH] stop listening for property events on client window after unmap --- src/compton.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/compton.c b/src/compton.c index 1e2444b..681a532 100644 --- a/src/compton.c +++ b/src/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,