Find a file
Jin Liu a21cdaf167
Change all *LoadImage(..., size) APIs to always return a cursor with the requested size.
Callers of these APIs (especially on Wayland) currently uses different
strategies to scale the returned cursor to the size set by the user,
resulting in inconsistent cursor sizes and looks across different apps
and toolkits. Having the cursor scaled in libXcursor will skip app's
own scaling algorithm and guarantee a consistent look.

`*LoadAllImages()` are not changed. They still only return the sizes present
in the theme.

This change needs to be synchronized to libraries (libxcb-cursor, wayland),
toolkits (GTK), window managers / Wayland compositors (i3, wlroots) who have
a (modified) copy of libXcursor source code, in order to have a fully consistent
cursor size across all apps.

Signed-off-by: Jin Liu <m.liu.jin@gmail.com>
2024-11-03 18:56:04 -05:00
include/X11/Xcursor Use fixed size integer type 2020-08-30 15:35:16 +02:00
man mention "Inherits=" lists 2021-05-05 20:18:31 -04:00
src Change all *LoadImage(..., size) APIs to always return a cursor with the requested size. 2024-11-03 18:56:04 -05:00
.gitignore Add generated Xcursor.h to .gitignore 2011-09-25 13:17:19 +01:00
.gitlab-ci.yml gitlab CI: stop requiring Signed-off-by in commits 2023-02-09 12:07:02 -08:00
AUTHORS - Add Xcursor build system 2005-06-08 19:15:43 +00:00
autogen.sh autogen: add default patch prefix 2017-01-26 13:52:49 +10:00
configure.ac libXcursor 1.2.2 2024-03-02 12:55:30 -08:00
COPYING Convert COPYING from ISO-8859-1 to UTF-8 2022-04-03 09:19:14 -07:00
Makefile.am Update README for gitlab migration 2018-11-19 21:47:26 -08:00
README.md Fix spelling/wording issues 2022-04-03 09:21:29 -07:00
xcursor.pc.in Added missing dependency 2006-09-12 09:02:54 -07:00

libXcursor - X Window System Cursor management library

All questions regarding this software should be directed at the Xorg mailing list:

https://lists.x.org/mailman/listinfo/xorg

The primary development code repository can be found at:

https://gitlab.freedesktop.org/xorg/lib/libXcursor

Please submit bug reports and requests to merge patches there.

For patch submission instructions, see:

https://www.x.org/wiki/Development/Documentation/SubmittingPatches