Fix portal being displayed as not supported

This commit is contained in:
dec05eba
2024-07-20 13:14:59 +02:00
parent b2728e0831
commit 51294af4c6
2 changed files with 3 additions and 1 deletions

View File

@@ -1676,7 +1676,7 @@ static void list_supported_capture_options(gsr_egl *egl, bool wayland) {
return;
char *session_handle = NULL;
if(gsr_dbus_screencast_create_session(&dbus, &session_handle)) {
if(gsr_dbus_screencast_create_session(&dbus, &session_handle) == 0) {
free(session_handle);
puts("portal");
}