aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11.c')
-rw-r--r--src/x11.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/x11.c b/src/x11.c
index 1b83d98..cd3fbb0 100644
--- a/src/x11.c
+++ b/src/x11.c
@@ -67,6 +67,7 @@ enum WmClientStateMessageAction {
#define NUM_CURSORS ((unsigned)PUGL_CURSOR_UP_DOWN + 1u)
+#ifdef HAVE_XCURSOR
static const char* const cursor_names[NUM_CURSORS] = {
"default", // ARROW
"text", // CARET
@@ -76,6 +77,7 @@ static const char* const cursor_names[NUM_CURSORS] = {
"sb_h_double_arrow", // LEFT_RIGHT
"sb_v_double_arrow" // UP_DOWN
};
+#endif
static bool
initXSync(PuglWorldInternals* const impl)