From ebdabc203072c855f9e28a679630c8decc6911ff Mon Sep 17 00:00:00 2001 From: Cedric Sodhi Date: Fri, 9 Mar 2018 15:17:15 +0100 Subject: Make X11 fully optional Make X11 Backend (in addition to XWayland) optional and small bug fix on XWayland includes. --- rootston/input.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rootston') diff --git a/rootston/input.c b/rootston/input.c index 657b0946..27ad1f6b 100644 --- a/rootston/input.c +++ b/rootston/input.c @@ -5,7 +5,9 @@ #include #include #include -#include +#ifdef WLR_HAS_XWAYLAND +# include +#endif #include "rootston/config.h" #include "rootston/input.h" #include "rootston/keyboard.h" -- cgit v1.2.3 From 706f77e3c735e49b4a051d545f40043a53e1ea2c Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 26 Mar 2018 23:15:21 -0400 Subject: Address review feedback --- backend/backend.c | 2 +- rootston/input.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'rootston') diff --git a/backend/backend.c b/backend/backend.c index 96e155dc..02b0b9af 100644 --- a/backend/backend.c +++ b/backend/backend.c @@ -12,7 +12,7 @@ #include #include #ifdef WLR_HAS_X11_BACKEND -# include +#include #endif #include diff --git a/rootston/input.c b/rootston/input.c index 27ad1f6b..962be9fa 100644 --- a/rootston/input.c +++ b/rootston/input.c @@ -6,7 +6,7 @@ #include #include #ifdef WLR_HAS_XWAYLAND -# include +#include #endif #include "rootston/config.h" #include "rootston/input.h" -- cgit v1.2.3