Wayland: multiseat, new protocols and other random fixes#1250
Conversation
ec669ce to
ee3b934
Compare
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1250 +/- ##
==========================================
- Coverage 65.45% 64.56% -0.89%
==========================================
Files 46 48 +2
Lines 7749 7900 +151
==========================================
+ Hits 5072 5101 +29
- Misses 2677 2799 +122
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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-v1for 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