From 2a09fbcb695102e9a990ed7cf1fdc350397a58f1 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Tue, 14 Feb 2023 00:57:47 +0000 Subject: [PATCH] steamcompmgr: Replicate EDID path to all servers --- src/steamcompmgr.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/steamcompmgr.cpp b/src/steamcompmgr.cpp index 23c7b81..412d3e6 100644 --- a/src/steamcompmgr.cpp +++ b/src/steamcompmgr.cpp @@ -6356,7 +6356,11 @@ steamcompmgr_main(int argc, char **argv) .format = 8, .nitems = strlen(connectorEdidPath), }; - XSetTextProperty( root_ctx->dpy, root_ctx->root, &text_property, root_ctx->atoms.gamescopeDisplayEdidPath ); + gamescope_xwayland_server_t *server = NULL; + for (size_t i = 0; (server = wlserver_get_xwayland_server(i)); i++) + { + XSetTextProperty( server->ctx->dpy, server->ctx->root, &text_property, server->ctx->atoms.gamescopeDisplayEdidPath ); + } } g_LastConnectorIdentifier = connector_id;