diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-10-28 10:25:47 +0000 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-12-31 20:40:18 +0000 |
commit | 5f65f339896fadf0011b75d78c869594876d35d9 (patch) | |
tree | bbb234ad123657f1a8ed1f311cf9183b67e7e961 /meson.build | |
parent | swaybar: remove old tray implementation (diff) | |
download | sway-5f65f339896fadf0011b75d78c869594876d35d9.tar.gz sway-5f65f339896fadf0011b75d78c869594876d35d9.tar.zst sway-5f65f339896fadf0011b75d78c869594876d35d9.zip |
swaybar: add tray interface
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index e1e0fc2d..981f74ac 100644 --- a/meson.build +++ b/meson.build | |||
@@ -66,6 +66,7 @@ endif | |||
66 | conf_data.set10('HAVE_GDK_PIXBUF', gdk_pixbuf.found()) | 66 | conf_data.set10('HAVE_GDK_PIXBUF', gdk_pixbuf.found()) |
67 | conf_data.set10('HAVE_SYSTEMD', systemd.found()) | 67 | conf_data.set10('HAVE_SYSTEMD', systemd.found()) |
68 | conf_data.set10('HAVE_ELOGIND', elogind.found()) | 68 | conf_data.set10('HAVE_ELOGIND', elogind.found()) |
69 | conf_data.set10('HAVE_TRAY', get_option('enable-tray') and (systemd.found() or elogind.found())) | ||
69 | 70 | ||
70 | if not systemd.found() and not elogind.found() | 71 | if not systemd.found() and not elogind.found() |
71 | warning('The sway binary must be setuid when compiled without (e)logind') | 72 | warning('The sway binary must be setuid when compiled without (e)logind') |