aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Courtis <alex@courtis.org>2020-08-11 11:29:32 +1000
committerAlexander Courtis <alex@courtis.org>2020-08-11 11:29:32 +1000
commit2616812a7a9b3a4fd72f782cf1bafea0742da590 (patch)
treebd53167f055e6d1c1131864b648dbfda6c5162ae
parente7318f76239133cbbaf6e0b26416ed60e484b485 (diff)
#24 ensure that xwayland cursor defaults to left_ptr
-rw-r--r--dwl.c4
1 files changed, 3 insertions, 1 deletions
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;