Skip to content

Conversation

@uni-dos
Copy link
Contributor

@uni-dos uni-dos commented Oct 29, 2025

This allows users to move the cursor to a specific part of a surface.

@uni-dos uni-dos changed the title begin adding pointer warp [Wayland] begin adding pointer warp Oct 29, 2025
@uni-dos uni-dos marked this pull request as ready for review November 6, 2025 17:26
@ColleagueRiley
Copy link
Owner

wayland-scanner client-header /usr/share/wayland-protocols/staging/pointer-warp/pointer-warp-v1.xml pointer-warp-v1.h
Could not open input file: No such file or directory

@uni-dos
Copy link
Contributor Author

uni-dos commented Nov 16, 2025

Its in a newer version of Wayland-protocols

@ColleagueRiley
Copy link
Owner

Then we will probably have to include the .xml files in RGFW and make loading them locally optional.

@uni-dos
Copy link
Contributor Author

uni-dos commented Nov 16, 2025

Yeah that's what I was thinking but I didn't want to include it because of the license.

@ColleagueRiley
Copy link
Owner

What's the license? GLFW does it and uses the same license as RGFW without any issues.

@ColleagueRiley
Copy link
Owner

The license seems to be a standard MIT license which is pretty permissive and compatible with zlib.

@uni-dos
Copy link
Contributor Author

uni-dos commented Nov 17, 2025

I do not have experience with makefile conditionals. I have not been able to test if the file exists.

@ColleagueRiley
Copy link
Owner

Yeah Makefile can be pretty annoying about that type of thing. I'm sure I could write something really quick but I think what we should do is this:

  1. RGFW ships with all the .xml files it uses by default

  2. the user can run a method which fetches the user's local files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants