aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--gtk/PlatGTK.cxx11
-rw-r--r--gtk/ScintillaGTK.cxx4
2 files changed, 7 insertions, 8 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx
index 9724c38bb..e85cf004c 100644
--- a/gtk/PlatGTK.cxx
+++ b/gtk/PlatGTK.cxx
@@ -1223,20 +1223,19 @@ void Window::SetFont(Font &) {
}
void Window::SetCursor(Cursor curs) {
- GdkCursor *gdkCurs;
-
// We don't set the cursor to same value numerous times under gtk because
// it stores the cursor in the window once it's set
if (curs == cursorLast)
return;
- cursorLast = curs;
+ cursorLast = curs;
+ GdkCursor *gdkCurs;
switch (curs) {
case cursorText:
gdkCurs = gdk_cursor_new(GDK_XTERM);
break;
case cursorArrow:
- gdkCurs = gdk_cursor_new(GDK_ARROW);
+ gdkCurs = gdk_cursor_new(GDK_LEFT_PTR);
break;
case cursorUp:
gdkCurs = gdk_cursor_new(GDK_CENTER_PTR);
@@ -1245,10 +1244,10 @@ void Window::SetCursor(Cursor curs) {
gdkCurs = gdk_cursor_new(GDK_WATCH);
break;
case cursorReverseArrow:
- gdkCurs = gdk_cursor_new(GDK_TOP_LEFT_ARROW);
+ gdkCurs = gdk_cursor_new(GDK_RIGHT_PTR);
break;
default:
- gdkCurs = gdk_cursor_new(GDK_ARROW);
+ gdkCurs = gdk_cursor_new(GDK_LEFT_PTR);
cursorLast = cursorArrow;
break;
}
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index 7f73b5723..ef4d5b0e3 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -389,8 +389,8 @@ void ScintillaGTK::MapThis() {
GTK_WIDGET_SET_FLAGS(PWidget(wMain), GTK_MAPPED);
MapWidget(PWidget(scrollbarh));
MapWidget(PWidget(scrollbarv));
- scrollbarv.SetCursor(Window::cursorReverseArrow);
- scrollbarh.SetCursor(Window::cursorReverseArrow);
+ scrollbarv.SetCursor(Window::cursorArrow);
+ scrollbarh.SetCursor(Window::cursorArrow);
gdk_window_show(PWidget(wMain)->window);
}