]> git.mdlowis.com Git - proto/labwc.git/commit
src/cursor.c: cursor names: use absence of "grab" to trigger fallback
authorConsolatis <35009135+Consolatis@users.noreply.github.com>
Sat, 11 Feb 2023 09:38:43 +0000 (10:38 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 11 Feb 2023 13:27:03 +0000 (13:27 +0000)
commitf9882d8dd37b09c5acbc5eb9c0fc65626246d543
treed2c3d633d5daf483bf70b1cb82aa98ebf8e22d78
parentaeb6aa0cd82e7c3de9c1df45e9c4a9e9a8358c2f
src/cursor.c: cursor names: use absence of "grab" to trigger fallback

This is necessary because wlroots backported a patch containing
cursor name aliases to the 0.16 branch. That internal mapping
does not alias "grab" to "grabbing" because it is not technically
part of the cursor-names spec.

To keep the "grab" cursor working on systems with no cursor theme
available (or in an unusual location) change the trigger for our
internal cursor name aliasing to "grab".

See wlroots commit 1e345c74c3ca5d2575aa975d4d9af87cd0c7ba13
Alias existing cursor defaults to cursor-spec cursor names

for further details.
src/cursor.c