[gtk/tintou/x11-cursor-fallback] x11: Provide the correct fallback on missing cursors
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/tintou/x11-cursor-fallback] x11: Provide the correct fallback on missing cursors
- Date: Tue, 9 Jun 2020 14:10:06 +0000 (UTC)
commit 59b0ea49d6611a9146ebe3aa2581e98b369657b0
Author: Corentin Noël <corentin noel collabora com>
Date: Tue Jun 9 16:07:25 2020 +0200
x11: Provide the correct fallback on missing cursors
gdk/x11/gdkcursor-x11.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c
index a050a70f7a..ccfa6ca5b4 100644
--- a/gdk/x11/gdkcursor-x11.c
+++ b/gdk/x11/gdkcursor-x11.c
@@ -109,10 +109,10 @@ static const struct {
{ "default", "left_ptr", XC_left_ptr, },
{ "help", "question_arrow", XC_question_arrow },
{ "context-menu", "left_ptr", XC_left_ptr },
- { "pointer", "hand", XC_hand1 },
+ { "pointer", "hand2", XC_hand2 },
{ "progress", "left_ptr_watch", XC_watch },
{ "wait", "watch", XC_watch },
- { "cell", "crosshair", XC_plus },
+ { "cell", "plus", XC_plus },
{ "crosshair", "cross", XC_crosshair },
{ "text", "xterm", XC_xterm },
{ "vertical-text","xterm", XC_xterm },
@@ -122,9 +122,9 @@ static const struct {
{ "no-drop", "dnd-none", XC_pirate },
{ "dnd-ask", "dnd-copy", XC_target }, /* not CSS, but we want to guarantee it anyway */
{ "not-allowed", "crossed_circle", XC_pirate },
- { "grab", "hand2", XC_hand2 },
- { "grabbing", "hand2", XC_hand2 },
- { "all-scroll", "left_ptr", XC_left_ptr },
+ { "grab", "openhand", XC_hand1 },
+ { "grabbing", "closedhand", XC_fleur },
+ { "all-scroll", "left_ptr", XC_fleur },
{ "col-resize", "h_double_arrow", XC_sb_h_double_arrow },
{ "row-resize", "v_double_arrow", XC_sb_v_double_arrow },
{ "n-resize", "top_side", XC_top_side },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]