event: destroy: set pending_updates after mark window CLIENT_STALE
Fixes test failure in test issue299 Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
7e29bb85e7
commit
8759fc6460
|
@ -277,6 +277,7 @@ static inline void ev_destroy_notify(session_t *ps, xcb_destroy_notify_event_t *
|
||||||
} else if (mw != NULL) {
|
} else if (mw != NULL) {
|
||||||
win_unmark_client(ps, mw);
|
win_unmark_client(ps, mw);
|
||||||
win_set_flags(mw, WIN_FLAGS_CLIENT_STALE);
|
win_set_flags(mw, WIN_FLAGS_CLIENT_STALE);
|
||||||
|
ps->pending_updates = true;
|
||||||
} else {
|
} else {
|
||||||
log_debug("Received a destroy notify from an unknown window, %#010x",
|
log_debug("Received a destroy notify from an unknown window, %#010x",
|
||||||
ev->window);
|
ev->window);
|
||||||
|
|
Loading…
Reference in New Issue