On Friday, December 20th, 2024 at 10:46, Campbell Barton <ideasma...@gmail.com> wrote:
> > Instead, we've standardized a protocol to set semantic cursor shapes: > > https://gitlab.freedesktop.org/wayland/wayland-protocols/-/tree/main/staging/cursor-shape?ref_type=heads > > > > Does that help? > > It's not a solution because it doesn't work with custom-cursors (cursors > created by the application at run-time for e.g). That's correct. Then it seems you're interested in sizing information but not specifically tied to XCursor, and that the XCursor theme is not especially useful for your use-case? This begs the question about cross cursor theme sizing. If you're submitting custom cursors, then there is no guarantee that the margins used in the system cursor theme will match these in the custom cursors. For instance, the system theme may have a 10px gap between the cursor and the image bounds, while the custom cursor has a 5px gap (due to the specific shape, shadows and such), and this results in a "jump" when switching between these cursors.