Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions src/Apps/gamescopectl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down Expand Up @@ -226,6 +227,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";
}
Expand Down Expand Up @@ -286,4 +291,4 @@ namespace gamescope
int main( int argc, char *argv[] )
{
return gamescope::RunGamescopeCtl( argc, argv );
}
}