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.
This commit is contained in:
Chun-wei Fan 2021-03-15 17:04:21 +08:00
parent a1c1ad317b
commit 54b3048584

View File

@ -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 },