-
-
Notifications
You must be signed in to change notification settings - Fork 623
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 GUI backend #1310
Wayland GUI backend #1310
Conversation
✅ Deploy Preview for conkyweb ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
b8b511c
to
29f66f5
Compare
I'll clean up a lot of the smaller tweak commits. For example,
and a bunch more. That said, I'd like particular attention on these commits:
|
29f66f5
to
756cbf7
Compare
Cleaned everything up substantially. I think this is now in a reviewable state. EDIT: I just realized I didn't have meaningful committer info in this history; I'll fix that too. |
1c76e79
to
d9c6c48
Compare
I guess I'll have to have a try at a Wayland session soon :-) You may want to use clang-format over the source files. |
Not sure there's a need to have a separate |
Can you rebase on top of #1250 (or wait for it to get merged)? I want to make sure these don't conflict. |
d9c6c48
to
0d9ce58
Compare
cf90d83
to
9410b8e
Compare
the Wayland callbacks have many params that we don't use; it isn't worthwhile to individually annotate these
9410b8e
to
7f9bc31
Compare
Tests are now green. |
Great, still busy this week, hopefully I'll get time to try it next week. |
This is a big change, and there's a decent chance things will break, but I think we can ship it just in time for Xmas (if that's something you care about) 🙂 Thanks for the PR, this is great! |
I merged this manually: cf16110 |
I tried to compile master and got this:
and then some issues while building. If it can help debuging. It is from Alpine Linux Dear santa is lovely this year \o/ |
I'm in the process of fixing that, check back in a little while :) |
Mah, I still got problems with BUILD_WAYLAND=ON
|
That's insanely annoying. Can you try #1337? |
Yes with this it compile ! And it works ! |
Cool, we might get some PR from some youtuber soon now :-D Just a few things I noted when I started reviewing: |
I think a lot of things broke with this PR, unfortunately. I should have tested better :) I'm trying to figure out what caused the breakage, but a lot shifted around so it's not easy to debug. |
Checklist
doc/
has been updatedDescription
I have an old (last April) branch implementing a Wayland backend that I've finally fixed to not break X11 anymore. This needs lots of cleanups, but I wanted to get a PR open so people can test and I can get feedback.
Fixes #56.
This probably needs a huge rebase at this point.Rebased.I've tested it under labwc and sway, but not other compositors. It uses Cairo for all rendering and the
wlr-layer-shell-unstable-v1
protocol to place its window appropriately. This moves a relatively large amount of code from X11 files to shared GUI ones. It adds aout_to_wayland
configuration setting; settingout_to_wayland = true
should be all that's needed to test an existing config.