SDL: emscripten, wayland, x11: Map SIZEALL to "all-scroll" instead of "move"

From aa6c390bbd195640250a442dde594a397f45d01e Mon Sep 17 00:00:00 2001
From: Simon McVittie <[EMAIL REDACTED]>
Date: Fri, 16 Feb 2024 12:31:48 +0000
Subject: [PATCH] emscripten, wayland, x11: Map SIZEALL to "all-scroll" instead
 of "move"

These previously mapped SIZEALL to "move", but "move" is not guaranteed
to be a four-pointed arrow: according to the CSS spec, it's actually
intended to be a drag-and-drop cursor, analogous to "alias" and "copy".
Map it to "all-scroll" instead, as in Wayland: while this is *also* not
semantically guaranteed to be a four-pointed arrow, it is at least
*suggested* to make it a four-pointed arrow.

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 src/video/emscripten/SDL_emscriptenmouse.c | 2 +-
 src/video/wayland/SDL_waylandmouse.c       | 2 +-
 src/video/x11/SDL_x11mouse.c               | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/video/emscripten/SDL_emscriptenmouse.c b/src/video/emscripten/SDL_emscriptenmouse.c
index cdf83de6f6e0..a3553a2fed54 100644
--- a/src/video/emscripten/SDL_emscriptenmouse.c
+++ b/src/video/emscripten/SDL_emscriptenmouse.c
@@ -172,7 +172,7 @@ static SDL_Cursor *Emscripten_CreateSystemCursor(SDL_SystemCursor id)
         cursor_name = "ns-resize";
         break;
     case SDL_SYSTEM_CURSOR_SIZEALL:
-        cursor_name = "move";
+        cursor_name = "all-scroll";
         break;
     case SDL_SYSTEM_CURSOR_NO:
         cursor_name = "not-allowed";
diff --git a/src/video/wayland/SDL_waylandmouse.c b/src/video/wayland/SDL_waylandmouse.c
index 4fb421de275e..c1f372011a5e 100644
--- a/src/video/wayland/SDL_waylandmouse.c
+++ b/src/video/wayland/SDL_waylandmouse.c
@@ -271,7 +271,7 @@ static SDL_bool wayland_get_system_cursor(SDL_VideoData *vdata, Wayland_CursorDa
         legacyname = "sb_v_double_arrow";
         break;
     case SDL_SYSTEM_CURSOR_SIZEALL:
-        cssname = "move";
+        cssname = "all-scroll";
         legacyname = "fleur";
         break;
     case SDL_SYSTEM_CURSOR_NO:
diff --git a/src/video/x11/SDL_x11mouse.c b/src/video/x11/SDL_x11mouse.c
index 04dba64233ae..9469494020a1 100644
--- a/src/video/x11/SDL_x11mouse.c
+++ b/src/video/x11/SDL_x11mouse.c
@@ -270,7 +270,7 @@ static SDL_Cursor *X11_CreateSystemCursor(SDL_SystemCursor id)
         break;
     case SDL_SYSTEM_CURSOR_SIZEALL:
         shape = XC_fleur;
-        xcursorname = "move";
+        xcursorname = "all-scroll";
         break;
     case SDL_SYSTEM_CURSOR_NO:
         shape = XC_pirate;