From d2a5f309fd048c427dd47294c36108df5fe79588 Mon Sep 17 00:00:00 2001 From: John Lindgren Date: Tue, 18 Nov 2025 02:37:25 -0500 Subject: [PATCH] xwayland-unmanaged: remove obsolete workaround --- src/xwayland-unmanaged.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/xwayland-unmanaged.c b/src/xwayland-unmanaged.c index b02a4bd2..1ca2271c 100644 --- a/src/xwayland-unmanaged.c +++ b/src/xwayland-unmanaged.c @@ -166,19 +166,6 @@ handle_dissociate(struct wl_listener *listener, void *data) struct xwayland_unmanaged *unmanaged = wl_container_of(listener, unmanaged, dissociate); - if (!unmanaged->mappable.connected) { - /* - * In some cases wlroots fails to emit the associate event - * due to an early return in xwayland_surface_associate(). - * This is arguably a wlroots bug, but nevertheless it - * should not bring down labwc. - * - * TODO: Potentially remove when starting to track - * wlroots 0.18 and it got fixed upstream. - */ - wlr_log(WLR_ERROR, "dissociate received before associate"); - return; - } mappable_disconnect(&unmanaged->mappable); }