forked from libsdl-org/SDL
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
emscripten, wayland, x11: Share the table of CSS cursor names
As suggested in libsdl-org#8939. This results in some minor changes for emscripten and x11. Both previously mapped SIZEALL to "move", but "move" is not guaranteed to be a four-pointed arrow: according to the CSS spec, it's actually intended to be a drag-and-drop cursor, analogous to "alias" and "copy". Map it to "all-scroll" instead, as in Wayland: while this is *also* not semantically guaranteed to be a four-pointed arrow, it is at least *suggested* to make it a four-pointed arrow. Also, emscripten was previously using two-pointed arrows for resizing (BOTTOMLEFT mapped to "nesw-resize", and so on). This commit changes it to use the more specific "sw-resize" and so on, which might be single-directional. Signed-off-by: Simon McVittie <[email protected]>
- Loading branch information
Showing
5 changed files
with
97 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters