sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 67f9b7fe5bc2db01876953fd638fed307b5aa147
parent ea0f1f3a7edf92537f74b70b520103bb38ff1411
Author: Drew DeVault <sir@cmpwn.com>
Date:   Sun, 15 Oct 2017 09:30:27 -0400

Merge pull request #1402 from johalun/event-codes-include-fix

Fix include path to input-event-codes.h for FreeBSD.
Diffstat:
Mswaybar/bar.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/swaybar/bar.c b/swaybar/bar.c @@ -7,7 +7,11 @@ #include <sys/wait.h> #include <signal.h> #include <poll.h> +#ifdef __FreeBSD__ +#include <dev/evdev/input-event-codes.h> +#else #include <linux/input-event-codes.h> +#endif #ifdef ENABLE_TRAY #include <dbus/dbus.h> #include "swaybar/tray/sni_watcher.h"