stop listening for property events on client window after unmap
This commit is contained in:
parent
0e956de906
commit
674ac5b6cd
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue