Draft: screenlocker: new protocol
This allows compositors to support screen locking under the control of external clients such that the lock is secure even if the external client crashes (or is OOM killed). The protocol also defines a method for other clients to display windows (popups, taskbars, etc) on the locked desktop if they explicitly opt in to this (potentially after removing any sensitive contents). The protocol can also be implemented by compositors that only want to notify clients of the lock status or allow displaying surfaces on a compositor-managed lock screen.
Original proposal and some existing discussion: https://github.com/swaywm/wlroots/issues/2706
Client implementation: https://github.com/danieldg/swaylock/tree/lock-protocol
Server implementation: https://github.com/danieldg/sway/tree/safe-locking (not complete)