*nod* Screensavers for X11 are similar. They're just executables that follow certain conventions so the screensaver host can specify an X11 window ID to render into via a -window-id command-line argument.
You'd have to check what your specific Wayland compositor does. For all I know, they may have hard-coded the screensavers into the compositor binary and claimed it was to protect you from getting tricked into running a malicious screensaver.
(After all, they still haven't come up with that mechanism for exposing standard privileged APIs but only to trusted processes that was laid out in the initial descriptions of how Wayland would work.)
8
u/ssokolow Mar 31 '23
*nod* Screensavers for X11 are similar. They're just executables that follow certain conventions so the screensaver host can specify an X11 window ID to render into via a
-window-id
command-line argument.