From cbbaf4fb45979785385932e4c5fa3523228eab69 Mon Sep 17 00:00:00 2001 From: Kurosawa Takeshi Date: Fri, 11 Feb 2011 20:08:38 +0900 Subject: 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. --- vcl/unx/gtk/app/gtkdata.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') 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 ); -- cgit v1.2.3