Implement ext-session-lock-v1

This commit is contained in:
Daniel De Graaf 2022-03-08 21:14:26 -05:00 committed by Simon Ser
parent 70d30ac72b
commit 519038a7e9
11 changed files with 290 additions and 7 deletions

View file

@ -185,6 +185,10 @@ struct sway_workspace *seat_get_last_known_workspace(struct sway_seat *seat);
struct sway_container *seat_get_focused_container(struct sway_seat *seat);
// Force focus to a particular surface that is not part of the workspace
// hierarchy (used for lockscreen)
void sway_force_focus(struct wlr_surface *surface);
/**
* Return the last container to be focused for the seat (or the most recently
* opened if no container has received focused) that is a child of the given