From e1eaf1583025ed182b9a7226f3eb17e08e81bd34 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 2 Jan 2023 16:21:22 -0500 Subject: Fix PUGL_NUM_CURSORS --- src/x11.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/x11.c b/src/x11.c index 78cd48e..2bdfc4a 100644 --- a/src/x11.c +++ b/src/x11.c @@ -66,10 +66,8 @@ enum WmClientStateMessageAction { WM_STATE_TOGGLE }; -#define NUM_CURSORS ((unsigned)PUGL_CURSOR_UP_RIGHT_DOWN_LEFT + 1U) - #ifdef HAVE_XCURSOR -static const char* const cursor_names[NUM_CURSORS] = { +static const char* const cursor_names[PUGL_NUM_CURSORS] = { "default", // ARROW "text", // CARET "crosshair", // CROSSHAIR -- cgit v1.2.1