Support ext-session-lock protocol

This commit is contained in:
Johan Malm 2023-03-30 22:19:05 +01:00 committed by Johan Malm
parent 6b83385ff7
commit d4288415c9
8 changed files with 356 additions and 1 deletions

View file

@ -50,7 +50,8 @@ desktop_focus_and_activate_view(struct seat *seat, struct view *view)
return;
}
if (input_inhibit_blocks_surface(seat, view->surface->resource)) {
if (input_inhibit_blocks_surface(seat, view->surface->resource)
|| seat->server->session_lock) {
return;
}