diff options
author | Kurosawa Takeshi <taken.spc@gmail.com> | 2011-02-11 20:08:38 +0900 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-02-16 20:51:24 +0000 |
commit | cbbaf4fb45979785385932e4c5fa3523228eab69 (patch) | |
tree | 51b50b39fa4d87d8b2c03697ba8d786b6f92ac9d /vcl | |
parent | 644ee4816ce7fbb59745c4cd2264c9f31d8483fe (diff) |
Use GDK_HAND2 mouse cursor instead of GDK_HAND1
LibreOffice uses GDK_HAND1 for POINTER_REFHAND and GDK_HAND2 for POINTER_HAND.
However there is not much difference between GDK_HAND1 and GDK_HAND2.
GDK_HAND1 means "a right-pointing hand" and GDK_HAND2 means "a left-pointing hand".
Since GDK_HAND2 is much more popular and some cursor themes don't contain cursor file for GDK_HAND1, we should use GDK_HAND2 for both POINTER_REFHAND and POINTER_HAND.
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk/app/gtkdata.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk/app/gtkdata.cxx b/vcl/unx/gtk/app/gtkdata.cxx index 24a157723952..d7f90ce17ad9 100644 --- a/vcl/unx/gtk/app/gtkdata.cxx +++ b/vcl/unx/gtk/app/gtkdata.cxx @@ -391,7 +391,7 @@ GdkCursor *GtkSalDisplay::getCursor( PointerStyle ePointerStyle ) MAP_BUILTIN( POINTER_HSIZEBAR, GDK_SB_H_DOUBLE_ARROW ); MAP_BUILTIN( POINTER_VSIZEBAR, GDK_SB_V_DOUBLE_ARROW ); - MAP_BUILTIN( POINTER_REFHAND, GDK_HAND1 ); + MAP_BUILTIN( POINTER_REFHAND, GDK_HAND2 ); MAP_BUILTIN( POINTER_HAND, GDK_HAND2 ); MAP_BUILTIN( POINTER_PEN, GDK_PENCIL ); |