aboutsummaryrefslogtreecommitdiff
path: root/src/dbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus.c')
-rw-r--r--src/dbus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dbus.c b/src/dbus.c
index 0e67295..8bfad81 100644
--- a/src/dbus.c
+++ b/src/dbus.c
@@ -565,7 +565,7 @@ bool gsr_dbus_screencast_create_session(gsr_dbus *self, char **session_handle) {
args[1].str = session_handle_token;
if(!gsr_dbus_call_screencast_method(self, "CreateSession", NULL, NULL, args, 2, NULL)) {
- fprintf(stderr, "gsr error: gsr_dbus_screencast_create_session: failed to setup ScreenCast session. Make sure you have a desktop portal running with support for the ScreenCast interface (usually only available on Wayland).\n");
+ fprintf(stderr, "gsr error: gsr_dbus_screencast_create_session: failed to setup ScreenCast session. Make sure you have a desktop portal running with support for the ScreenCast interface (usually only available on Wayland) and that the desktop portal matches the Wayland compositor you are running.\n");
return false;
}
@@ -600,6 +600,7 @@ bool gsr_dbus_screencast_create_session(gsr_dbus *self, char **session_handle) {
}
if(!gsr_dbus_response_status_ok(&resp_args)) {
+ fprintf(stderr, "gsr error: gsr_dbus_screencast_create_session: failed to setup ScreenCast session. Make sure you have a desktop portal running with support for the ScreenCast interface (usually only available on Wayland) and that the desktop portal matches the Wayland compositor you are running.\n");
dbus_message_unref(msg);
return false;
}