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

This commit is contained in:
Daniel De Graaf 2022-05-21 23:54:22 -04:00 committed by Simon Ser
parent a3a82efbf6
commit 75b2d0b105
1 changed files with 4 additions and 0 deletions

View File

@ -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;
}