From 54b30485844206ae6e72d39347b10606042b76a4 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Mon, 15 Mar 2021 17:04:21 +0800 Subject: gdkcursor-win32.c: Add cursor map for all-scroll This makes sure that we don't have cursors disappearing on Windows upon scrolling because we can't find a cursor that exists on the system during a scroll, and unlike GTK-3.x, we do not default to the arrow pointer on GTK4. Just mimic what we have on X11 and Wayland: the trusty standard arrow pointer. Fixes issue #3581. --- gdk/win32/gdkcursor-win32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gdk/win32/gdkcursor-win32.c b/gdk/win32/gdkcursor-win32.c index 6b0723bd86..fe9f299c71 100644 --- a/gdk/win32/gdkcursor-win32.c +++ b/gdk/win32/gdkcursor-win32.c @@ -61,6 +61,7 @@ static DefaultCursor default_cursors[] = { { "text", IDC_IBEAM }, { "move", IDC_SIZEALL }, { "not-allowed", IDC_NO }, + { "all-scroll", IDC_ARROW }, { "ew-resize", IDC_SIZEWE }, { "e-resize", IDC_SIZEWE }, { "w-resize", IDC_SIZEWE }, -- cgit v1.2.1