internal: remove metadata cursor mode

This commit is contained in:
vaxerski 2023-04-13 21:14:13 +01:00
parent 04f579377a
commit 2366b4d415
2 changed files with 3 additions and 3 deletions

View file

@ -115,7 +115,7 @@ int main(int argc, char *argv[]) {
.wl_display = wl_display, .wl_display = wl_display,
.pw_loop = pw_loop, .pw_loop = pw_loop,
.screencast_source_types = MONITOR, .screencast_source_types = MONITOR,
.screencast_cursor_modes = HIDDEN | EMBEDDED | METADATA, .screencast_cursor_modes = HIDDEN | EMBEDDED,
.screencast_version = XDP_CAST_PROTO_VER, .screencast_version = XDP_CAST_PROTO_VER,
.screenshot_version = XDP_SHOT_PROTO_VER, .screenshot_version = XDP_SHOT_PROTO_VER,
.config = &config, .config = &config,

View file

@ -391,8 +391,8 @@ static int method_screencast_select_sources(sd_bus_message *msg, void *data, sd_
cursor_embedded = false; cursor_embedded = false;
} }
if (cursor_mode & METADATA) { if (cursor_mode & METADATA) {
logprint(ERROR, "dbus: unsupported cursor mode requested, ignoring"); logprint(ERROR, "dbus: unsupported cursor mode requested");
// goto error; goto error;
} }
logprint(INFO, "dbus: option cursor_mode:%x", cursor_mode); logprint(INFO, "dbus: option cursor_mode:%x", cursor_mode);
} else if (strcmp(key, "restore_token") == 0) { } else if (strcmp(key, "restore_token") == 0) {