aboutsummaryrefslogtreecommitdiff
path: root/src/cursor.rs
AgeCommit message (Collapse)Author
2025-02-26cursor: Extract get_render_cursor_named()Ivan Molodetskikh
2025-01-30misc: Use `CursorImageSurfaceData` type aliasbbb651
instead of `Mutex<CursorImageAttributes>`
2024-06-09Fix typos (#429)Ujp8LfXBJ6wCPR
* Fix typos reported by "typos" crate https://github.com/crate-ci/typos * Ignore typo datas -> data See https://github.com/crate-ci/typos?tab=readme-ov-file#false-positives for more configureability. --------- Co-authored-by: Carl Hjerpe <git@hjerpe.xyz> Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2024-01-25use pixman for cursor plane renderingChristian Meissl
2024-01-19Don't crash when failing to render a cursorIvan Molodetskikh
I only hit this when the renderer was completely busted, but nevertheless.
2023-11-02Check alternative cursor names when loading cursorKirill Chibisov
Some themes don't have all the cursors specified as in w3c specification, thus try to check for alternative names as well.
2023-10-30Add cursor-shape protocolIvan Molodetskikh
2023-10-29cursor: Make cache.get() accept &selfIvan Molodetskikh
2023-10-02Send output enter/leave to pointer and DnD surfacesIvan Molodetskikh
This allows them to apply the right scale factor.
2023-10-01config/input: add cursor sectionKirill Chibisov
This should allow users to configure theme and size for the cursor, as well as automatically set `XCURSOR_THEME` and `XCURSOR_SIZE` env variables.
2023-10-01Make default cursor respect output scaleIvan Molodetskikh
First part of https://github.com/YaLTeR/niri/issues/16