Kirill Primak
c6b498528c
xcursor: don't store NULL xcursors
1 year ago
Simon Ser
dbedcdb418
xcursor: add fallbacks for legacy names
...
Some XCursor themes still use the legacy names instead of the newer
cursor naming spec [1]. Fall back to the legacy name if the standard
one could not be found.
[1]: https://www.freedesktop.org/wiki/Specifications/cursor-spec/
Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3746
1 year ago
Simon Ser
25d9055281
xcursor: sync with libwayland
...
xcursor.c was copied over from libwayland-cursor. A lot of
cosmetic imporvements have been merged upstream. Copy-paste the
new version.
2 years ago
Simon Ser
9affcaa93c
xcursor: adjust style, use calloc()
...
Adjust the code style for wlroots, and use calloc() for structs.
2 years ago
Simon Ser
1a5530d14d
xcursor: quiet debug log
...
Stop listing all available cursors each time a cursor theme is
loaded. They can be obtained from the CLI instead, e.g.
ls /usr/share/icons/Adwaita/cursors
4 years ago
Manuel Stoeckl
b6dea80907
xcursor: make cursor data and metadata const
4 years ago
Antonin Décimo
d9bb792794
Fix incorrect format parameters
4 years ago
Antonin Décimo
820800a5ab
xcursor: avoid leak and loss of all cursors if cursors realloc fails
5 years ago
emersion
2d0c5ec78e
Use _POSIX_C_SOURCE, use shm_open
6 years ago
emersion
7cbef15206
util: add wlr_ prefix to log symbols
7 years ago
emersion
625a7a48dc
Don't use the wlr_ prefix for static functions
7 years ago
Drew DeVault
1d9be89e2d
Revert "ELF Visibility"
7 years ago
Scott Anderson
86269052eb
Explicitly export EFL symbols
7 years ago
emersion
c2e1474010
Reformat all #include directives
7 years ago
emersion
bde255933e
output: add wlr_output::damage, fixes #572
7 years ago
Tony Crisci
4c60072be5
move get_resize_name to xcursor
7 years ago
Tony Crisci
f334dcaf40
rename wlr_cursor.c to wlr_xcursor.c
7 years ago