src/view.c: guard xwayland include

Fixes: #1118
This commit is contained in:
Consolatis 2023-09-29 02:29:30 +02:00 committed by John Lindgren
parent 4028a9482f
commit 607c295527

View file

@ -2,7 +2,6 @@
#include <assert.h>
#include <stdio.h>
#include <strings.h>
#include <wlr/xwayland.h>
#include "common/mem.h"
#include "common/scene-helpers.h"
#include "labwc.h"
@ -15,6 +14,10 @@
#include "workspaces.h"
#include "xwayland.h"
#if HAVE_XWAYLAND
#include <wlr/xwayland.h>
#endif
#define LAB_MIN_VIEW_WIDTH 100
#define LAB_MIN_VIEW_HEIGHT 60
#define LAB_FALLBACK_WIDTH 640