mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-21 22:25:58 +01:00
internal: remove metadata cursor mode
This commit is contained in:
parent
04f579377a
commit
2366b4d415
2 changed files with 3 additions and 3 deletions
|
@ -115,7 +115,7 @@ int main(int argc, char *argv[]) {
|
|||
.wl_display = wl_display,
|
||||
.pw_loop = pw_loop,
|
||||
.screencast_source_types = MONITOR,
|
||||
.screencast_cursor_modes = HIDDEN | EMBEDDED | METADATA,
|
||||
.screencast_cursor_modes = HIDDEN | EMBEDDED,
|
||||
.screencast_version = XDP_CAST_PROTO_VER,
|
||||
.screenshot_version = XDP_SHOT_PROTO_VER,
|
||||
.config = &config,
|
||||
|
|
|
@ -391,8 +391,8 @@ static int method_screencast_select_sources(sd_bus_message *msg, void *data, sd_
|
|||
cursor_embedded = false;
|
||||
}
|
||||
if (cursor_mode & METADATA) {
|
||||
logprint(ERROR, "dbus: unsupported cursor mode requested, ignoring");
|
||||
// goto error;
|
||||
logprint(ERROR, "dbus: unsupported cursor mode requested");
|
||||
goto error;
|
||||
}
|
||||
logprint(INFO, "dbus: option cursor_mode:%x", cursor_mode);
|
||||
} else if (strcmp(key, "restore_token") == 0) {
|
||||
|
|
Loading…
Reference in a new issue