diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2021-03-15 17:04:21 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2021-03-15 17:16:33 +0800 |
commit | 54b30485844206ae6e72d39347b10606042b76a4 (patch) | |
tree | dd48825c2c6219589658f032b901637095086707 | |
parent | a1c1ad317ba428f460563dbcd8d4ba816984a69c (diff) | |
download | gtk+-fix-3581.tar.gz |
gdkcursor-win32.c: Add cursor map for all-scrollfix-3581
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.
-rw-r--r-- | gdk/win32/gdkcursor-win32.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 }, |