From a28ac29aa00f221515e93f09e0e75b490111ec2f Mon Sep 17 00:00:00 2001 From: Susko3 Date: Mon, 25 Dec 2023 23:02:02 +0100 Subject: [PATCH] Add missing cursor types The flowing assert would trip: SDL_assert(SDL_arraysize(cursorNames) == SDL_NUM_SYSTEM_CURSORS) --- test/testwm.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/testwm.c b/test/testwm.c index 6efcb80276..25b9d22f4f 100644 --- a/test/testwm.c +++ b/test/testwm.c @@ -34,6 +34,14 @@ static const char *cursorNames[] = { "sizeALL", "NO", "hand", + "window top left", + "window top", + "window top right", + "window right", + "window bottom right", + "window bottom", + "window bottom left", + "window left" }; static int system_cursor = -1; static SDL_Cursor *cursor = NULL;