aboutsummaryrefslogtreecommitdiff
path: root/swayidle
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-10-16 10:50:56 +0100
committerGitHub <noreply@github.com>2018-10-16 10:50:56 +0100
commitac20690945f1cd44c4c22267c9e7a172ebcf5ba5 (patch)
tree994739d4ba8388d7a336ac825a618daf2274ec66 /swayidle
parent05284b65db5f3cdfa88d7e06055aadd0d5fa8e50 (diff)
parentcd02d60a992ee38689a0d17fc69c4e2b1956f266 (diff)
Merge branch 'master' into set-set-raw-focus
Diffstat (limited to 'swayidle')
-rw-r--r--swayidle/main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/swayidle/main.c b/swayidle/main.c
index 5b6c95a7..93f4c94b 100644
--- a/swayidle/main.c
+++ b/swayidle/main.c
@@ -388,7 +388,9 @@ int main(int argc, char *argv[]) {
state.display = wl_display_connect(NULL);
if (state.display == NULL) {
- wlr_log(WLR_ERROR, "Failed to create display");
+ wlr_log(WLR_ERROR, "Unable to connect to the compositor. "
+ "If your compositor is running, check or set the "
+ "WAYLAND_DISPLAY environment variable.");
return -3;
}