From c9fe0626ca7351fc31e20545f91631cb40b0ea17 Mon Sep 17 00:00:00 2001 From: Arav K Date: Wed, 16 Dec 2020 21:09:06 +0100 Subject: Fix swaybar tray for non-systemd Meson's generated config.h header defines false macros as 0, not undefined. This means that the header line, which was checking for the definition existing, not a non-zero value, was incorrect. Now the swaybar tray can be used with systemd, elogind, or basu. --- include/swaybar/tray/tray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/swaybar/tray/tray.h b/include/swaybar/tray/tray.h index a64cd9c8..d2e80a6d 100644 --- a/include/swaybar/tray/tray.h +++ b/include/swaybar/tray/tray.h @@ -2,7 +2,7 @@ #define _SWAYBAR_TRAY_TRAY_H #include "config.h" -#ifdef HAVE_LIBSYSTEMD +#if HAVE_LIBSYSTEMD #include #elif HAVE_LIBELOGIND #include -- cgit v1.2.3