From 685ba16d6eda632e2ec48c067ed93ae2b772a7c5 Mon Sep 17 00:00:00 2001 From: Tarek Ismail Date: Wed, 6 Nov 2024 12:51:02 +0200 Subject: [PATCH] Don't ignore synthetic unmap notify requests anymore --- src/server/frontend_xwayland/xwayland_wm.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/server/frontend_xwayland/xwayland_wm.cpp b/src/server/frontend_xwayland/xwayland_wm.cpp index 69b5952f12a..b389b8e6c69 100644 --- a/src/server/frontend_xwayland/xwayland_wm.cpp +++ b/src/server/frontend_xwayland/xwayland_wm.cpp @@ -771,11 +771,6 @@ void mf::XWaylandWM::handle_unmap_notify(xcb_unmap_notify_event_t *event) if (connection->is_ours(event->window)) return; - // We just ignore the ICCCM 4.1.4 synthetic unmap notify - // as it may come in after we've destroyed the window - if (event->response_type & ~0x80) - return; - if (auto const surface = get_wm_surface(event->window)) { surface.value()->close();