[PATCH data/cursors] Add missing symlinks for whiteglass

Paul Hebble pjhebble at gmail.com
Sat Oct 13 23:30:19 UTC 2018


>From 2e4161ce604876246761bfd3061fb0914bf48ae2 Mon Sep 17 00:00:00 2001
From: Paul Hebble <pjhebble at gmail.com>
Date: Sat, 13 Oct 2018 18:06:02 -0500
Subject: [PATCH data/cursors] Add missing symlinks for whiteglass

GNOME Shell crashes if your active cursor theme doesn't have a dnd-none
cursor and you click and drag a window in the overview screen.

This patch adds a symlink to fleur for the dnd-none cursor of
whiteglass. Similarly for hand, hand1, and hand2 which are used by some
browsers.
---
 whiteglass/Makefile.cfg     | 4 ++++
 whiteglass/Makefile.cursors | 8 ++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/whiteglass/Makefile.cfg b/whiteglass/Makefile.cfg
index bc4083b..add12e5 100644
--- a/whiteglass/Makefile.cfg
+++ b/whiteglass/Makefile.cfg
@@ -22,3 +22,7 @@ CursorLinkTarget top_left_arrow left_ptr
 # moz_question_arrow 5c6cd98b3f3ebcb1f9c7f1c204630408 (left_ptr with ?)
 # moz_spinning (left_ptr with watch)
 CursorLinkTarget 08e8e1c95fe2fc01f976f1e063a24ccd left_ptr_watch
+CursorLinkTarget dnd-none fleur
+CursorLinkTarget grab hand1
+CursorLinkTarget hand hand2
+CursorLinkTarget pointer hand
diff --git a/whiteglass/Makefile.cursors b/whiteglass/Makefile.cursors
index bd3e4fe..654eb75 100644
--- a/whiteglass/Makefile.cursors
+++ b/whiteglass/Makefile.cursors
@@ -1,7 +1,7 @@
 # this is a generated file -- do not edit.

 CURSORFILES = X_cursor base_arrow_down base_arrow_up boat
bottom_left_corner bottom_right_corner bottom_side bottom_tee
center_ptr circle cross dot dot_box_mask double_arrow draped_box
exchange fleur gumby hand1 hand2 left_ptr left_ptr_watch left_side
left_tee ll_angle lr_angle pencil pirate question_arrow right_ptr
right_side right_tee sailboat sb_down_arrow sb_h_double_arrow
sb_left_arrow sb_right_arrow sb_up_arrow sb_v_double_arrow shuttle
sizing target top_left_corner top_right_corner top_side top_tee trek
ul_angle ur_angle watch xterm
-CURSORLINKS = arrow cross_reverse crosshair draft_large draft_small
plus tcross top_left_arrow 08e8e1c95fe2fc01f976f1e063a24ccd
+CURSORLINKS = arrow cross_reverse crosshair draft_large draft_small
plus tcross top_left_arrow 08e8e1c95fe2fc01f976f1e063a24ccd dnd-none
grab hand pointer
 CLEANFILES = $(CURSORFILES)
 cursor_DATA = $(CURSORFILES)

@@ -273,7 +273,11 @@ install-data-hook:
  $(LN_S) cross plus && \
  $(LN_S) cross tcross && \
  $(LN_S) left_ptr top_left_arrow && \
- $(LN_S) left_ptr_watch 08e8e1c95fe2fc01f976f1e063a24ccd
+ $(LN_S) left_ptr_watch 08e8e1c95fe2fc01f976f1e063a24ccd && \
+ $(LN_S) fleur dnd-none && \
+ $(LN_S) hand1 grab && \
+ $(LN_S) hand2 hand && \
+ $(LN_S) hand pointer

 uninstall-hook:
  cd $(DESTDIR)$(cursordir) && rm -f $(CURSORLINKS)
-- 
2.17.1


More information about the xorg-devel mailing list