stop listening for property events on client window after unmap

This commit is contained in:
Christopher Jeffrey 2012-02-28 01:51:21 -06:00
parent 0e956de906
commit 674ac5b6cd
1 changed files with 5 additions and 0 deletions

View File

@ -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,