diff --git a/src/wayland_backend.cpp b/src/wayland_backend.cpp index 29dd2e5a5d..2ee2b7ba24 100644 --- a/src/wayland_backend.cpp +++ b/src/wayland_backend.cpp @@ -42,9 +42,10 @@ static LogScope xdg_log( "xdg_backend" ); #define WAYLAND_NULL() [] ( void *pData, Args... args ) { } #define WAYLAND_USERDATA_TO_THIS(type, name) [] ( void *pData, Args... args ) { type *pThing = (type *)pData; pThing->name( std::forward(args)... ); } +extern gamescope::ConVar cv_hdr_enabled; + namespace gamescope { - extern ConVar cv_hdr_enabled; class CWaylandConnector; class CWaylandPlane;