File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838#include " src/video.h"
3939#include " vaapi.h"
4040
41- namespace {
42- // KDE ScreenCast cursor modes (from protocol enum)
43- constexpr uint32_t CURSOR_HIDDEN = 1 ;
44- constexpr uint32_t CURSOR_EMBEDDED = 2 ;
45- constexpr uint32_t CURSOR_METADATA = 4 ;
46- } // namespace
47-
4841using namespace std ::literals;
4942
5043extern const wl_interface wl_output_interface;
@@ -398,7 +391,7 @@ namespace kwin {
398391 }
399392
400393 // Request a stream for the chosen output with embedded cursor
401- zkde_screencast_stream = zkde_screencast_unstable_v1_stream_output (zkde_screencast, output, CURSOR_EMBEDDED );
394+ zkde_screencast_stream = zkde_screencast_unstable_v1_stream_output (zkde_screencast, output, ZKDE_SCREENCAST_UNSTABLE_V1_POINTER_EMBEDDED );
402395 zkde_screencast_stream_unstable_v1_add_listener (zkde_screencast_stream, &stream_listener, this );
403396
404397 // Dispatch until we get created/failed, with a 5s timeout
You can’t perform that action at this time.
0 commit comments