aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
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");
}