From 73146d8957d6dc746d9c41cdd4f71c00d1b7000e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 15 Jul 2024 23:17:00 +0200 Subject: Include virtual capture target in portal capture --- src/capture/portal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/capture') diff --git a/src/capture/portal.c b/src/capture/portal.c index 77da206..a6066a9 100644 --- a/src/capture/portal.c +++ b/src/capture/portal.c @@ -179,7 +179,7 @@ static bool gsr_capture_portal_setup_dbus(gsr_capture_portal *self) { } fprintf(stderr, "gsr info: gsr_capture_portal_setup_dbus: SelectSources\n"); - if(!gsr_dbus_screencast_select_sources(&self->dbus, self->session_handle, GSR_PORTAL_CAPTURE_TYPE_MONITOR | GSR_PORTAL_CAPTURE_TYPE_WINDOW, self->params.record_cursor ? GSR_PORTAL_CURSOR_MODE_EMBEDDED : GSR_PORTAL_CURSOR_MODE_HIDDEN)) { + if(!gsr_dbus_screencast_select_sources(&self->dbus, self->session_handle, GSR_PORTAL_CAPTURE_TYPE_ALL, self->params.record_cursor ? GSR_PORTAL_CURSOR_MODE_EMBEDDED : GSR_PORTAL_CURSOR_MODE_HIDDEN)) { fprintf(stderr, "gsr error: gsr_capture_portal_setup_dbus: SelectSources failed\n"); return false; } -- cgit v1.2.3