-
Notifications
You must be signed in to change notification settings - Fork 343
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: multiseat, new protocols and other random fixes #1250
Wayland: multiseat, new protocols and other random fixes #1250
Conversation
ec669ce
to
ee3b934
Compare
Codecov ReportAttention:
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## master #1250 +/- ##
==========================================
- Coverage 66.17% 65.24% -0.93%
==========================================
Files 46 48 +2
Lines 7696 7847 +151
==========================================
+ Hits 5093 5120 +27
- Misses 2603 2727 +124
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
92fd4c2
to
e0a95a8
Compare
Tested the branch and at least the warning mentioned in #1214 seems to be gone. |
Can you set a very short (like 10s short) idle_threshold, start dunst as I've been testing various corner-cases with Sway 1.9 snapshot and everything has been working so far. labwc shouldn't have any significant differences in behavior with Sway. |
e0a95a8
to
728b302
Compare
All good. Can confirm this PR does fix #1214 |
Thanks for this much needed wayland work! With a quick look, the X11 impl seems to be fine as well, but I'm not too familiar with the xlib either. If someone is able to test it on X11, that would be great. |
I've taken a look at all the code. I have some questions and minor things, but over all it looks good. |
728b302
to
ea9e2fb
Compare
The wl.c file is getting a bit big and could use some refactoring to separate files. I'm not saying it should happen in this PR, but this PR does make it a little bit bigger as well. |
Thanks for all the fixes and wayland features! Now dunst is up to date with the protocols again |
I'll go and merge this PR. If you want to work on refactoring the wayaland code a bit, that would be cool. But don't feel obliged :) |
I'll take a look. An obvious idea is to split seat-related code to |
A bunch of fixes for Wayland backend:
ext-idle-notify-v1
, required by wlroots >= 0.17cursor-shape-v1
for compositor-rendered cursors to reduce headache with themes and scalingglobal.monitor = <name>
(eDP-1, etc...)Tested on Fedora 39 and FreeBSD 14. Haven't tried with older systems, but everything version-dependent should be properly guarded.
Cursor-shape and ext-idle-notify could be tested with a compositor already ported to the new wlroots (Sway master or v1.9 branches).
I'm 100% unsure about the X11 impl for monitor names. It's only been tested with XWayland, and frankly I'm not familiar with the Xlib.
Fixes: #1132
Likely also addresses #1214