sway

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

commit f9cea7f09bb0307ab47505e6f7d7cb1f02f45783
parent d06782c5e71fb1a6229c1add16bae0dbf919c5c1
Author: emersion <contact@emersion.fr>
Date:   Wed,  9 Jan 2019 14:00:54 +0100

Merge pull request #3391 from jbeich/freebsd

Simplify FreeBSD build
Diffstat:
Msway/commands/bind.c | 4----
Msway/commands/seat/cursor.c | 4----
Msway/config.c | 4----
Msway/input/cursor.c | 4----
Msway/input/seat.c | 4----
Msway/ipc-server.c | 4----
Mswaybar/input.c | 4----
7 files changed, 0 insertions(+), 28 deletions(-)

diff --git a/sway/commands/bind.c b/sway/commands/bind.c @@ -1,10 +1,6 @@ #define _POSIX_C_SOURCE 200809L #include <libevdev/libevdev.h> -#ifdef __linux__ #include <linux/input-event-codes.h> -#elif __FreeBSD__ -#include <dev/evdev/input-event-codes.h> -#endif #include <xkbcommon/xkbcommon.h> #include <xkbcommon/xkbcommon-names.h> #include <string.h> diff --git a/sway/commands/seat/cursor.c b/sway/commands/seat/cursor.c @@ -1,9 +1,5 @@ #define _POSIX_C_SOURCE 200809L -#ifdef __linux__ #include <linux/input-event-codes.h> -#elif __FreeBSD__ -#include <dev/evdev/input-event-codes.h> -#endif #include <strings.h> #include <wlr/types/wlr_cursor.h> diff --git a/sway/config.c b/sway/config.c @@ -13,11 +13,7 @@ #include <limits.h> #include <dirent.h> #include <strings.h> -#ifdef __linux__ #include <linux/input-event-codes.h> -#elif __FreeBSD__ -#include <dev/evdev/input-event-codes.h> -#endif #include <wlr/types/wlr_output.h> #include "sway/input/input-manager.h" #include "sway/input/seat.h" diff --git a/sway/input/cursor.c b/sway/input/cursor.c @@ -1,11 +1,7 @@ #define _POSIX_C_SOURCE 200809L #include <math.h> #include <libevdev/libevdev.h> -#ifdef __linux__ #include <linux/input-event-codes.h> -#elif __FreeBSD__ -#include <dev/evdev/input-event-codes.h> -#endif #include <float.h> #include <limits.h> #include <wlr/types/wlr_cursor.h> diff --git a/sway/input/seat.c b/sway/input/seat.c @@ -1,11 +1,7 @@ #define _POSIX_C_SOURCE 200809L #include <assert.h> #include <errno.h> -#ifdef __linux__ #include <linux/input-event-codes.h> -#elif __FreeBSD__ -#include <dev/evdev/input-event-codes.h> -#endif #include <strings.h> #include <time.h> #include <wlr/types/wlr_cursor.h> diff --git a/sway/ipc-server.c b/sway/ipc-server.c @@ -1,10 +1,6 @@ // See https://i3wm.org/docs/ipc.html for protocol information #define _POSIX_C_SOURCE 200112L -#ifdef __linux__ #include <linux/input-event-codes.h> -#elif __FreeBSD__ -#include <dev/evdev/input-event-codes.h> -#endif #include <assert.h> #include <errno.h> #include <fcntl.h> diff --git a/swaybar/input.c b/swaybar/input.c @@ -1,9 +1,5 @@ #include <assert.h> -#ifdef __FreeBSD__ -#include <dev/evdev/input-event-codes.h> -#else #include <linux/input-event-codes.h> -#endif #include <stdlib.h> #include <wayland-client.h> #include <wayland-cursor.h>