mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 06:24:20 +01:00
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.
This commit is contained in:
parent
ba943c694c
commit
c9fe0626ca
@ -2,7 +2,7 @@
|
|||||||
#define _SWAYBAR_TRAY_TRAY_H
|
#define _SWAYBAR_TRAY_TRAY_H
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#ifdef HAVE_LIBSYSTEMD
|
#if HAVE_LIBSYSTEMD
|
||||||
#include <systemd/sd-bus.h>
|
#include <systemd/sd-bus.h>
|
||||||
#elif HAVE_LIBELOGIND
|
#elif HAVE_LIBELOGIND
|
||||||
#include <elogind/sd-bus.h>
|
#include <elogind/sd-bus.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user