diff options
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r-- | include/sway/input/seat.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); | |||
185 | 185 | ||
186 | struct sway_container *seat_get_focused_container(struct sway_seat *seat); | 186 | struct sway_container *seat_get_focused_container(struct sway_seat *seat); |
187 | 187 | ||
188 | // Force focus to a particular surface that is not part of the workspace | ||
189 | // hierarchy (used for lockscreen) | ||
190 | void sway_force_focus(struct wlr_surface *surface); | ||
191 | |||
188 | /** | 192 | /** |
189 | * Return the last container to be focused for the seat (or the most recently | 193 | * Return the last container to be focused for the seat (or the most recently |
190 | * opened if no container has received focused) that is a child of the given | 194 | * opened if no container has received focused) that is a child of the given |