diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-02-29 06:54:27 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-03-01 06:04:48 +0000 |
| commit | d3b348a5b183b0e6295dc985b1d5dcd939cb5c6e (patch) | |
| tree | 0ac7d5a3047bf99e90182cf0305db70062566459 /scripts | |
| parent | render: don't try to set a NULL xcursor image (diff) | |
cursor-shape: improve xcursor fallback support, and prefer CSS names
Before this patch, we used legacy X11 xcursor names, and didn't really
have any fallback handling in place (we only tried to fallback to
"xterm", regardless of which cursor shape we were trying to load).
This patch changes two things:
1. Improved fallback support. cursor_shape_to_string() now returns a
list of strings. This allows us to have per-shape fallbacks, and any
number of fallbacks.
2. We prefer CSS xcursor names over legacy X11 names.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
