From ae17cd2c8d57614d073cc89ac12032b0977e5d6a Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 19 Dec 2022 10:47:06 +0000 Subject: [PATCH] view: limit XCB header to Xwayland after 286b2146c348 ../src/view.c:5:10: fatal error: 'xcb/xcb_icccm.h' file not found #include ^~~~~~~~~~~~~~~~~ --- src/view.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/view.c b/src/view.c index 71de74cc..90e5cb13 100644 --- a/src/view.c +++ b/src/view.c @@ -2,13 +2,16 @@ #include #include #include -#include #include "common/scene-helpers.h" #include "labwc.h" #include "ssd.h" #include "menu/menu.h" #include "workspaces.h" +#if HAVE_XWAYLAND +#include +#endif + #define LAB_FALLBACK_WIDTH 640 #define LAB_FALLBACK_HEIGHT 480 #define MAX(a, b) (((a) > (b)) ? (a) : (b))