mirror of
https://github.com/labwc/labwc.git
synced 2025-11-30 06:59:52 -05:00
xwayland-unmanaged: remove obsolete workaround
This commit is contained in:
parent
b9da216bde
commit
b1e7282995
1 changed files with 0 additions and 13 deletions
|
|
@ -162,19 +162,6 @@ handle_dissociate(struct wl_listener *listener, void *data)
|
||||||
struct xwayland_unmanaged *unmanaged =
|
struct xwayland_unmanaged *unmanaged =
|
||||||
wl_container_of(listener, unmanaged, dissociate);
|
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);
|
mappable_disconnect(&unmanaged->mappable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue