diff options
Diffstat (limited to 'gtk/PlatGTK.cxx')
-rw-r--r-- | gtk/PlatGTK.cxx | 11 |
1 files changed, 5 insertions, 6 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; } |