From 7f067de65219bec8a1719c8a0a338cf27c4452b6 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Fri, 6 Oct 2023 23:39:36 +0100 Subject: [PATCH] wlserver: Add feature bit for pixel filter --- protocol/gamescope-control.xml | 1 + src/wlserver.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/protocol/gamescope-control.xml b/protocol/gamescope-control.xml index 7447e76..be56044 100644 --- a/protocol/gamescope-control.xml +++ b/protocol/gamescope-control.xml @@ -39,6 +39,7 @@ + diff --git a/src/wlserver.cpp b/src/wlserver.cpp index 100cc9c..33503d6 100644 --- a/src/wlserver.cpp +++ b/src/wlserver.cpp @@ -894,6 +894,7 @@ static void gamescope_control_bind( struct wl_client *client, void *data, uint32 // Send feature support gamescope_control_send_feature_support( resource, GAMESCOPE_CONTROL_FEATURE_RESHADE_SHADERS, 1, 0 ); gamescope_control_send_feature_support( resource, GAMESCOPE_CONTROL_FEATURE_DISPLAY_INFO, 1, 0 ); + gamescope_control_send_feature_support( resource, GAMESCOPE_CONTROL_FEATURE_PIXEL_FILTER, 1, 0 ); gamescope_control_send_feature_support( resource, GAMESCOPE_CONTROL_FEATURE_DONE, 0, 0 ); wlserver.gamescope_controls.push_back(resource);