From 2616812a7a9b3a4fd72f782cf1bafea0742da590 Mon Sep 17 00:00:00 2001 From: Alexander Courtis Date: Tue, 11 Aug 2020 11:29:32 +1000 Subject: [PATCH] #24 ensure that xwayland cursor defaults to left_ptr --- dwl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dwl.c b/dwl.c index 767b9af..4b0e144 100644 --- a/dwl.c +++ b/dwl.c @@ -251,9 +251,11 @@ static struct wl_list independents; static struct wlr_xdg_decoration_manager_v1 *xdeco_mgr; static struct wlr_cursor *cursor; -static struct wlr_xcursor *xcursor; static struct wlr_xcursor_manager *cursor_mgr; +#ifdef XWAYLAND +static struct wlr_xcursor *xcursor; static struct wlr_xcursor_manager *xcursor_mgr; +#endif static struct wlr_seat *seat; static struct wl_list keyboards;