-
Notifications
You must be signed in to change notification settings - Fork 7
add new wayland cursors #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add new wayland cursors #17
Conversation
I wouldn't bet on 'move' ever having its common use case reinterpreted when all three major platforms treat it as 'all-resize' is described. It would be really nice if the CSS spec were less ambiguous and had some meaningful reference cursors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am fine with this with the comments below resolved. Again, while this library does follow the W3C spec, I do not believe we need to limit ourselves to that (as long as it's clearly stated so in docs).
feddad0
to
f64d8c1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should clearly indicate in the docs that those 2 new icons are not part of the w3c spec we refer to and that they may generally not be present as is.
@kchibisov i added a note in the doc comments for these two icons in [f64d8c1], where else should i add them? |
Also need a CHANGELOG entry. |
f64d8c1
to
904c2fa
Compare
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think like that is a bit clear, since those also work on X11.
904c2fa
to
4112eb9
Compare
added the new
dnd-ask
andall-resize
as specified in wayland/wayland-protocols!294. one concern is, that the names might not be final (especially fordnd-ask
), and changing them later would be a breaking change. i think that could potentially be mitigated by adding a new enum variant and deprecating the current, but i also think that it will probably take some time (if it will even happen) for wayland to change the naming, so it should probably be fine for a while.mutter falls back to
dnd-copy
anddnd-move
while kwin falls back tocopy
andmove
. since this repo consistently uses thednd
-less versions, i decided to fall back tocopy
andmove
respectively.i don't know what description to add to those: breeze doesn't have them and the only ones i could find for the new dnd-ask icon were in the adwaita docs and from bibata who are drawing them very differently. (though bibata does some other strange decisions like having a different cursor for
dnd-copy
andcopy
). if you want me to i could add a description like/// Often drawn as an arrow with either a small question mark or three dots next to it
, but i just left it for now.