sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 75b2d0b105ac21f362d47ccdc94a4cb25994e2f6
parent a3a82efbf6b5b3af840c70038b1b599ba29003ac
Author: Daniel De Graaf <code@danieldg.net>
Date:   Sat, 21 May 2022 23:54:22 -0400

ext-session-lock: disable direct scan-out when locked

Diffstat:
Msway/desktop/output.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/sway/desktop/output.c b/sway/desktop/output.c @@ -453,6 +453,10 @@ static bool scan_out_fullscreen_view(struct sway_output *output, return false; } + if (server.session_lock.locked) { + return false; + } + if (!wl_list_empty(&view->saved_buffers)) { return false; }