diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/input/seat.h | 4 | ||||
-rw-r--r-- | include/sway/server.h | 1 |
2 files changed, 1 insertions, 4 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index c2041742..e3a46872 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h | |||
@@ -201,10 +201,6 @@ struct sway_workspace *seat_get_last_known_workspace(struct sway_seat *seat); | |||
201 | 201 | ||
202 | struct sway_container *seat_get_focused_container(struct sway_seat *seat); | 202 | struct sway_container *seat_get_focused_container(struct sway_seat *seat); |
203 | 203 | ||
204 | // Force focus to a particular surface that is not part of the workspace | ||
205 | // hierarchy (used for lockscreen) | ||
206 | void sway_force_focus(struct wlr_surface *surface); | ||
207 | |||
208 | /** | 204 | /** |
209 | * Return the last container to be focused for the seat (or the most recently | 205 | * Return the last container to be focused for the seat (or the most recently |
210 | * opened if no container has received focused) that is a child of the given | 206 | * opened if no container has received focused) that is a child of the given |
diff --git a/include/sway/server.h b/include/sway/server.h index 055c067d..6a5a60c8 100644 --- a/include/sway/server.h +++ b/include/sway/server.h | |||
@@ -96,6 +96,7 @@ struct sway_server { | |||
96 | struct wlr_session_lock_manager_v1 *manager; | 96 | struct wlr_session_lock_manager_v1 *manager; |
97 | 97 | ||
98 | struct wlr_session_lock_v1 *lock; | 98 | struct wlr_session_lock_v1 *lock; |
99 | struct wlr_surface *focused; | ||
99 | struct wl_listener lock_new_surface; | 100 | struct wl_listener lock_new_surface; |
100 | struct wl_listener lock_unlock; | 101 | struct wl_listener lock_unlock; |
101 | struct wl_listener lock_destroy; | 102 | struct wl_listener lock_destroy; |