From 519038a7e903caae731007b276f5666a341498e9 Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Tue, 8 Mar 2022 21:14:26 -0500 Subject: Implement ext-session-lock-v1 --- include/sway/input/seat.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/sway/input') diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index 50c4be9b..47726159 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h @@ -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 -- cgit v1.2.3