Commit 0ef3a81
committed
cursor-sprite-xcursor: Use standard cursor names
The cursor name for META_CURSOR_POINTER was "hand" for both
the primary and legacy name lookups.
Many modern cursor themes (e.g. Bibata, Adwaita, Google Dot) don't
provide a cursor named "hand", causing XcursorLibraryLoadCursor
to fail.
This made the cursor disappear or Cinnamon crash when hovering URL
links in notifications.
Use "pointer" (the CSS3 cursor spec name) as the primary name
and "hand2" (the traditional X11 cursor) as the legacy fallback.
Both are universally available across cursor themes.
Fixes #801
The previous commit actually fixes the crash. This commit prevents it
from happening by using a better cursor name.1 parent 82cba78 commit 0ef3a81
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
0 commit comments