Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wine winewayland.drv require zwp_pointer_constraints_v1 #50

Open
Fox2Code opened this issue Mar 18, 2024 · 5 comments
Open

Wine winewayland.drv require zwp_pointer_constraints_v1 #50

Fox2Code opened this issue Mar 18, 2024 · 5 comments

Comments

@Fox2Code
Copy link
Sponsor

Reference upstream Wine: https://gitlab.winehq.org/wine/wine/-/blob/master/dlls/winewayland.drv/wayland.c?ref_type=heads#L274
Reference Valve/Proton Wine: https://github.com/ValveSoftware/wine/blob/proton_9.0/dlls/winewayland.drv/wayland.c#L272

Wayland protocol: https://wayland.app/protocols/pointer-constraints-unstable-v1
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/blob/main/unstable/pointer-constraints/pointer-constraints-unstable-v1.xml

I know both Louvre and the Wine Wayland drivers are in it's early stages, I am just making this issue in advance so peoples reading on the project understand why the Wine Wayland driver currently cannot be used/tested on Louvre.
(Also as a reminder that zwp_pointer_constraints_v1 is not yet implemented on Louvre 2.0.0 git branch)

I didn't opened a discussion instead cause it seemed out of place.

@ehopperdietzel
Copy link
Member

ehopperdietzel commented Mar 18, 2024

Hi, thanks for pointing that out. I wasn't aware that Wine now supports Wayland, that's good to know. Regarding the pointer constraints protocol, it's scheduled to be available in Louvre 2.0.0, which is currently in development.

@ehopperdietzel
Copy link
Member

Just FYI, I've finished adding the pointer constraints protocol to the 2.0.0 branch. It should work in all the examples now.

@Fox2Code
Copy link
Sponsor Author

Fox2Code commented Apr 2, 2024

@ehopperdietzel yeah, I knew when I opened the issues that you would to add it.
I'll could probs snoop around and open more issues that various protocols other toolkits might be using.
I think I'll take a look around and open issues if I find something interesting, worst case scenarios my issues could just be closed.

@ehopperdietzel
Copy link
Member

Alright, please feel free to do so. I'm currently focused on incorporating the wlr screencopy protocol.

@ehopperdietzel
Copy link
Member

The wlr-screencopy protocol is now operational (in louvre-views and louvre-weston-clone). I have recorded a video demonstration with wf-recorder, and to my surprise, it appears really smooth (since my screen is 2880x1800px). I believe the final protocol to integrate before releasing 2.0.0 will be wlr-layer-shell.

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

No branches or pull requests

2 participants