mirror of
https://github.com/swaywm/sway.git
synced 2024-11-21 23:41:27 +00:00
ext-session-lock: disable direct scan-out when locked
This commit is contained in:
parent
a3a82efbf6
commit
75b2d0b105
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue