[Libreoffice] [PATCH] Use GDK_HAND2 mouse cursor instead of GDK_HAND1

KUROSAWA, Takeshi taken.spc at gmail.com
Fri Feb 11 03:31:21 PST 2011


Hi,

Here is a patch to make LibeOffice use a more commonly-used mouse cursor in GTK.

Currently LibreOffice uses GDK_HAND1 for POINTER_REFHAND and GDK_HAND2
for POINTER_HAND.
As a result, LibreOffice uses GDK_HAND1 for hyperlinks, while many
GTK2 applications use GDK_HAND2.
# See attached png images.

Since there is not much difference between GDK_HAND1 and GDK_HAND2 and
GDK_HAND1 is not commonly used, we should use GDK_HAND2 for both
POINTER_REFHAND and POINTER_HAND.
# GDK_HAND1 means "a right-pointing hand" and GDK_HAND2 means "a
left-pointing hand"
# http://library.gnome.org/devel/gdk/stable/gdk-Cursors.html

This patch is under LGPLv3+/MPL.

Cheers,
--
Kurosawa Takeshi <taken.spc at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Use-GDK_HAND2-mouse-cursor-instead-of-GDK_HAND1.patch
Type: text/x-diff
Size: 1341 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110211/dfebfac1/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GDK_HAND1_in_lo.png
Type: image/png
Size: 11076 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110211/dfebfac1/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GDK_HAND2_in_gimp.png
Type: image/png
Size: 42474 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110211/dfebfac1/attachment-0003.png>


More information about the LibreOffice mailing list