aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/PlatGTK.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/PlatGTK.cxx')
-rwxr-xr-xgtk/PlatGTK.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index 0378cc44d..67b7f7052 100755
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -1346,7 +1346,13 @@ void Window::SetCursor(Cursor curs) {
gdkCurs = gdk_cursor_new_for_display(pdisplay, GDK_HAND2);
break;
case Cursor::reverseArrow:
+#ifdef G_OS_WIN32
+ // GDK_RIGHT_PTR is scaled incorrectly under Windows with HiDPI screens (GTK 3.24);
+ // GDK_HAND2 is mapped to a native Windows cursor by GTK
+ gdkCurs = gdk_cursor_new_for_display(pdisplay, GDK_HAND2);
+#else
gdkCurs = gdk_cursor_new_for_display(pdisplay, GDK_RIGHT_PTR);
+#endif
break;
default:
gdkCurs = gdk_cursor_new_for_display(pdisplay, GDK_LEFT_PTR);