aboutsummaryrefslogtreecommitdiff
path: root/src/capture/portal.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-07-15 23:17:00 +0200
committerdec05eba <dec05eba@protonmail.com>2024-07-15 23:17:00 +0200
commit73146d8957d6dc746d9c41cdd4f71c00d1b7000e (patch)
treeb725372bf8ccb3e7c1a4d5dc934ef9c9074034bc /src/capture/portal.c
parenta3b773a963adc57dfb0b22ca02ae7b5e30bdb716 (diff)
Include virtual capture target in portal capture
Diffstat (limited to 'src/capture/portal.c')
-rw-r--r--src/capture/portal.c2
1 files changed, 1 insertions, 1 deletions
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;
}