-
Notifications
You must be signed in to change notification settings - Fork 946
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
Wayland's eventloop 2.0 #790
Conversation
No sure who'd be best to review this ? It's honestly a pretty boring diff, as the port to the new eventloop setup didn't require any deep refactor of the wayland code. Most of the diff is:
|
I read over the diff, and nothing in particular stood out to me as erroneous in your code (for what that's worth, as someone without much knowledge of the Linux backend). However, there was one thing I noticed in the public cross-platform API that seems a bit misleading, but not technically unsafe - the |
Do you want it added to this PR, or can we merge it and do it in a second time? |
Could you change the API here and add in the bounds on Linux? I'll push another commit that gets it working on Windows |
Alright, will do that |
This should do it, I also added the bounds in the windows code, it seemed simple enough. |
It looks like one of the tests was broken, but that should be fixed now. Once the CI finishes this should be ready to merge. |
Actually, I went ahead and tested this on my Linux machine and a couple of points came up:
|
I added the proper code to handle However I'm not clear on what you did actually change to make the window appear? I does display a window with transparent contents for me. |
This should be good now, are you ok with that @Osspial ? |
@vberger 👍 |
Alright, so I'll merge this into the |
* match unix common API to evl 2.0 * wayland: eventloop2.0 * make EventLoopProxy require T: 'static * Fix linux build and tests * wayland: update sctk & small fixes
* match unix common API to evl 2.0 * wayland: eventloop2.0 * make EventLoopProxy require T: 'static * Fix linux build and tests * wayland: update sctk & small fixes
This is the port of the wayland backend to events loop 2.0.
Notably: