diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/input/seat.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index f2af1066..eb6c09a1 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h | |||
@@ -143,6 +143,11 @@ struct sway_node *seat_get_focus(struct sway_seat *seat); | |||
143 | 143 | ||
144 | struct sway_workspace *seat_get_focused_workspace(struct sway_seat *seat); | 144 | struct sway_workspace *seat_get_focused_workspace(struct sway_seat *seat); |
145 | 145 | ||
146 | // If a scratchpad container is fullscreen global, this can be used to try to | ||
147 | // determine the last focused workspace. Otherwise, this should yield the same | ||
148 | // results as seat_get_focused_workspace. | ||
149 | struct sway_workspace *seat_get_last_known_workspace(struct sway_seat *seat); | ||
150 | |||
146 | struct sway_container *seat_get_focused_container(struct sway_seat *seat); | 151 | struct sway_container *seat_get_focused_container(struct sway_seat *seat); |
147 | 152 | ||
148 | /** | 153 | /** |