mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
Fix portal being displayed as not supported
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user