From 92a53f9bd6a13e98f0b8e4d341d53ffd7355d1d0 Mon Sep 17 00:00:00 2001 From: kobewi Date: Wed, 6 Oct 2021 13:13:42 +0200 Subject: [PATCH] Change dragging cursor on Windows --- doc/classes/Input.xml | 1 + platform/windows/display_server_windows.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml index ebbcd2b8944..dd3f7266bdd 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -386,6 +386,7 @@ Drag cursor. Usually displayed when dragging something. + [b]Note:[/b] Windows lacks a dragging cursor, so [constant CURSOR_DRAG] is the same as [constant CURSOR_MOVE] for this platform. Can drop cursor. Usually displayed when dragging something to indicate that it can be dropped at the current position. diff --git a/platform/windows/display_server_windows.cpp b/platform/windows/display_server_windows.cpp index 8a946d81362..905c4142a88 100644 --- a/platform/windows/display_server_windows.cpp +++ b/platform/windows/display_server_windows.cpp @@ -1208,7 +1208,7 @@ void DisplayServerWindows::cursor_set_shape(CursorShape p_shape) { IDC_CROSS, IDC_WAIT, IDC_APPSTARTING, - IDC_ARROW, + IDC_SIZEALL, IDC_ARROW, IDC_NO, IDC_SIZENS,