aboutsummaryrefslogtreecommitdiff
path: root/sway/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/main.c b/sway/main.c
index ba4e2562..96f67b36 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -391,7 +391,7 @@ int main(int argc, char **argv) {
load_swaybars();
run_deferred_commands();
- if (config->swaynag_config_errors.pid > 0) {
+ if (config->swaynag_config_errors.client != NULL) {
swaynag_show(&config->swaynag_config_errors);
}