Skip to content

Commit

Permalink
event: destroy: set pending_updates after mark window CLIENT_STALE
Browse files Browse the repository at this point in the history
Fixes test failure in test issue299

Signed-off-by: Yuxuan Shui <[email protected]>
  • Loading branch information
yshui committed Apr 11, 2020
1 parent 7e29bb8 commit 8759fc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ static inline void ev_destroy_notify(session_t *ps, xcb_destroy_notify_event_t *
} else if (mw != NULL) {
win_unmark_client(ps, mw);
win_set_flags(mw, WIN_FLAGS_CLIENT_STALE);
ps->pending_updates = true;
} else {
log_debug("Received a destroy notify from an unknown window, %#010x",
ev->window);
Expand Down

0 comments on commit 8759fc6

Please sign in to comment.