Use case: Pretend you're in a shared space (e.g. office) and using your laptop. Nothing or low-volume music is playing. At some point you lock it with a screensaver & leave for a while. Meanwhile, your laptop starts playing loud sounds (maybe some crazy ad on a webpage you have open). Anyone in the vicinity should be able to use the volume button on the laptop's keyboard to control the volume. This had not been possible with X/Xscreensaver (for whatever reasons). Meanwhile, Windows has had this feature for years... Would it be possible to add support for media buttons while in screensaver?
Hi, yes, supporting the feature you ask is totally possible on Wayland. However, it has nothing to do with Wayland, and here is why: A Wayland-based display server integrates all of the display server, compositor, window manager and screen locking in a single program (possible helper programs aside). This means that the server can handle any input actions any way it wants regardless of screenlocking or anything. E.g. it can always forward chosen multimedia buttons to certain programs, doing what you want. If your DE is not supporting the feature, you have to ask the DE project to implement it. Wayland has no part in it, except implying a different architecture for display servers than in an X11 environment. Therefore I'll mark this as WORKSFORME, since Wayland "supports" it in the way that nothing is required from Wayland to have it, nor does Wayland prevent it.
(As an example, this works with GNOME Shell under Wayland.)
I currently can't launch Gnome on Wayland, but I'm going to trust that you tried it If it already works, great!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.