diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-07-20 13:14:59 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-07-20 13:14:59 +0200 |
commit | 51294af4c6a1366d2304bebba91722b7ba85d0d4 (patch) | |
tree | 5bf1ca93dd5f043bc887b9a9039dcf92652f2381 /src/main.cpp | |
parent | b2728e083105269af52c6f4c13b32d31933e52d1 (diff) |
Fix portal being displayed as not supported
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 0a7c32e..39bc64c 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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"); } |