diff --git a/src/event.c b/src/event.c index c763552..31026b7 100644 --- a/src/event.c +++ b/src/event.c @@ -320,6 +320,7 @@ static inline void ev_reparent_notify(session_t *ps, xcb_reparent_notify_event_t ev->window, ev->parent, ev->override_redirect); auto w_top = find_toplevel(ps, ev->window); if (w_top) { + win_unmark_client(ps, w_top); win_set_flags(w_top, WIN_FLAGS_CLIENT_STALE); ps->pending_updates = true; }