diff options
| author | kilpilainen <> | 2025-03-27 16:07:45 +0200 |
|---|---|---|
| committer | Leonardo Hernández Hernández <leohdz172@proton.me> | 2025-06-09 13:39:40 -0600 |
| commit | 02f8744a486713bfac41661e7c5590ec11ec8989 (patch) | |
| tree | 9aa6e70421de112f6c2d972e9a5ce1e5f706ce64 /util.c | |
| parent | d1880b44223701c91b51b319fc69a0f63044f861 (diff) | |
Use `all-scroll` instead of `fleur` xcursor shape for window dragging
When there are no xcursor themes available, Wayland uses its own built-in shapes [1].
Wayland (and thus to extend wlroots) is based on the XDG's cursor spec [2],
which itself is based on CSS' [3][4], neither of which define `fleur` shape. So dwl,
without any external themes, falls back to `default` shape when dragging a window.
There is `all-scroll` shape that is being symlinked to (or vice versa) by `move`,
`dnd-move`, `grabbed` and `fleur` shapes by various themes.
Since `all-scroll` is being symlinked to anyway, and has been part of all relevant
specs as the shape for this use case for a very long time now, use it instead.
[1] https://gitlab.freedesktop.org/wayland/wayland/-/blob/main/cursor/cursor-data.h#L559
[2] https://www.freedesktop.org/wiki/Specifications/cursor-spec
[3] https://drafts.csswg.org/css-ui/#cursor
[4] https://developer.mozilla.org/en-US/docs/Web/CSS/cursor
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions
