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

master
Daniel De Graaf 3 years ago committed by Simon Ser
parent a3a82efbf6
commit 75b2d0b105

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

Loading…
Cancel
Save