Browse Source

Add missing cursor types

The flowing assert would trip:
    SDL_assert(SDL_arraysize(cursorNames) == SDL_NUM_SYSTEM_CURSORS)
Susko3 1 year ago
parent
commit
a28ac29aa0
1 changed files with 8 additions and 0 deletions
  1. 8 0
      test/testwm.c

+ 8 - 0
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;