From f700569b98c1c4d19b87e9f16ddad0400846bdf5 Mon Sep 17 00:00:00 2001 From: Matthew Schwartz Date: Tue, 19 May 2026 10:44:26 -0700 Subject: [PATCH 1/2] gamescopectl: add missing labels for gamescope control features --- src/Apps/gamescopectl.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Apps/gamescopectl.cpp b/src/Apps/gamescopectl.cpp index f0d5b64a29..1227ffe89b 100644 --- a/src/Apps/gamescopectl.cpp +++ b/src/Apps/gamescopectl.cpp @@ -226,6 +226,10 @@ namespace gamescope return "Refresh Cycle Only Change Refresh Rate"; case GAMESCOPE_CONTROL_FEATURE_MURA_CORRECTION: return "Mura Correction"; + case GAMESCOPE_CONTROL_FEATURE_LOOK: + return "Look"; + case GAMESCOPE_CONTROL_FEATURE_PERF_QUERY: + return "Performance Query"; default: return "Unknown"; } @@ -286,4 +290,4 @@ namespace gamescope int main( int argc, char *argv[] ) { return gamescope::RunGamescopeCtl( argc, argv ); -} \ No newline at end of file +} From a04782c2a891bd3dd10eb2363a73a513281eb270 Mon Sep 17 00:00:00 2001 From: Matthew Schwartz Date: Tue, 19 May 2026 11:25:42 -0700 Subject: [PATCH 2/2] gamescopectl: stub missing app_performance_stats listener The gamescope_control_listener gained an app_performance_stats slot in protocol v6, but gamescopectl's listener struct was never updated. --- src/Apps/gamescopectl.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Apps/gamescopectl.cpp b/src/Apps/gamescopectl.cpp index 1227ffe89b..e31030357e 100644 --- a/src/Apps/gamescopectl.cpp +++ b/src/Apps/gamescopectl.cpp @@ -189,9 +189,10 @@ namespace gamescope const gamescope_control_listener GamescopeCtl::s_GamescopeControlListener = { - .feature_support = WAYLAND_USERDATA_TO_THIS( GamescopeCtl, Wayland_GamescopeControl_FeatureSupport ), - .active_display_info = WAYLAND_USERDATA_TO_THIS( GamescopeCtl, Wayland_GamescopeControl_ActiveDisplayInfo ), - .screenshot_taken = WAYLAND_USERDATA_TO_THIS( GamescopeCtl, Wayland_GamescopeControl_ScreenshotTaken ), + .feature_support = WAYLAND_USERDATA_TO_THIS( GamescopeCtl, Wayland_GamescopeControl_FeatureSupport ), + .active_display_info = WAYLAND_USERDATA_TO_THIS( GamescopeCtl, Wayland_GamescopeControl_ActiveDisplayInfo ), + .screenshot_taken = WAYLAND_USERDATA_TO_THIS( GamescopeCtl, Wayland_GamescopeControl_ScreenshotTaken ), + .app_performance_stats = WAYLAND_NULL(), }; void GamescopeCtl::Wayland_GamescopePrivate_Log( gamescope_private *pGamescopePrivate, const char *pText )