diff options
author | 2018-10-16 10:50:56 +0100 | |
---|---|---|
committer | 2018-10-16 10:50:56 +0100 | |
commit | ac20690945f1cd44c4c22267c9e7a172ebcf5ba5 (patch) | |
tree | 994739d4ba8388d7a336ac825a618daf2274ec66 /swayidle | |
parent | Prevent duplicate workspace::focus events (diff) | |
parent | Merge pull request #2845 from colemickens/posix_clock (diff) | |
download | sway-ac20690945f1cd44c4c22267c9e7a172ebcf5ba5.tar.gz sway-ac20690945f1cd44c4c22267c9e7a172ebcf5ba5.tar.zst sway-ac20690945f1cd44c4c22267c9e7a172ebcf5ba5.zip |
Merge branch 'master' into set-set-raw-focus
Diffstat (limited to 'swayidle')
-rw-r--r-- | swayidle/main.c | 4 |
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[]) { | |||
388 | 388 | ||
389 | state.display = wl_display_connect(NULL); | 389 | state.display = wl_display_connect(NULL); |
390 | if (state.display == NULL) { | 390 | if (state.display == NULL) { |
391 | wlr_log(WLR_ERROR, "Failed to create display"); | 391 | wlr_log(WLR_ERROR, "Unable to connect to the compositor. " |
392 | "If your compositor is running, check or set the " | ||
393 | "WAYLAND_DISPLAY environment variable."); | ||
392 | return -3; | 394 | return -3; |
393 | } | 395 | } |
394 | 396 | ||