mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-12-22 09:49:49 +01:00
screencast: crudely allow metadata and ignore it
This commit is contained in:
parent
e1f145d15d
commit
803c00db11
2 changed files with 3 additions and 3 deletions
|
@ -117,7 +117,7 @@ int main(int argc, char *argv[]) {
|
|||
.wl_display = wl_display,
|
||||
.pw_loop = pw_loop,
|
||||
.screencast_source_types = MONITOR,
|
||||
.screencast_cursor_modes = HIDDEN | EMBEDDED,
|
||||
.screencast_cursor_modes = HIDDEN | EMBEDDED | METADATA,
|
||||
.screencast_version = XDP_CAST_PROTO_VER,
|
||||
.screenshot_version = XDP_SHOT_PROTO_VER,
|
||||
.config = &config,
|
||||
|
|
|
@ -325,8 +325,8 @@ static int method_screencast_select_sources(sd_bus_message *msg, void *data,
|
|||
cursor_embedded = false;
|
||||
}
|
||||
if (cursor_mode & METADATA) {
|
||||
logprint(ERROR, "dbus: unsupported cursor mode requested, cancelling");
|
||||
goto error;
|
||||
logprint(ERROR, "dbus: unsupported cursor mode requested, ignoring");
|
||||
// goto error;
|
||||
}
|
||||
logprint(INFO, "dbus: option cursor_mode:%x", cursor_mode);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue