[gtk/fix-3581] gdkcursor-win32.c: Add cursor map for all-scroll
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/fix-3581] gdkcursor-win32.c: Add cursor map for all-scroll
- Date: Mon, 15 Mar 2021 09:10:07 +0000 (UTC)
commit fd46499d33799ee85978296d79e51e64db0b3a54
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Mar 15 17:04:21 2021 +0800
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. Just mimic what we have on GTK3 and 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 },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]