From e0d1dc436d964b2c852b57aacd71061d9e37d624 Mon Sep 17 00:00:00 2001 From: Consolatis <35009135+Consolatis@users.noreply.github.com> Date: Sat, 28 Jun 2025 17:36:17 +0200 Subject: [PATCH] server.c: remove wlroots 0.16 era workaround for xwayland drm leases We instead rely on the fixes in xwayland being widely available. This also re-enables VR headsets for X11 applications. Fixes: #553 --- src/server.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/server.c b/src/server.c index f84011f5..3666d86a 100644 --- a/src/server.c +++ b/src/server.c @@ -304,17 +304,7 @@ server_global_filter(const struct wl_client *client, const struct wl_global *glo ? server->xwayland->server->client : NULL; - if (client == xwayland_client) { - /* - * Filter out wp_drm_lease_device_v1 for now as it is resulting in - * issues with Xwayland applications lagging over time. - * - * https://github.com/labwc/labwc/issues/553 - */ - if (!strcmp(iface->name, wp_drm_lease_device_v1_interface.name)) { - return false; - } - } else if (!strcmp(iface->name, xwayland_shell_v1_interface.name)) { + if (client != xwayland_client && !strcmp(iface->name, xwayland_shell_v1_interface.name)) { /* Filter out the xwayland shell for usual clients */ return false; } -- 2.52.0