diff options
author | Christopher Jeffrey <chjjeffrey@gmail.com> | 2012-02-28 01:51:21 -0600 |
---|---|---|
committer | Christopher Jeffrey <chjjeffrey@gmail.com> | 2012-02-28 01:52:41 -0600 |
commit | 85de312fe7a794c4263b518098f248168cad242b (patch) | |
tree | 4cfacfe8f787b9b6253fe21e2162221559128edc /compton.c | |
parent | 614a1deb9ef3d6b3d2ca8a88b01d6b6dd7dc4d19 (diff) | |
download | tdebase-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.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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, |