aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r--include/sway/input/seat.h5
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
144struct sway_workspace *seat_get_focused_workspace(struct sway_seat *seat); 144struct 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.
149struct sway_workspace *seat_get_last_known_workspace(struct sway_seat *seat);
150
146struct sway_container *seat_get_focused_container(struct sway_seat *seat); 151struct sway_container *seat_get_focused_container(struct sway_seat *seat);
147 152
148/** 153/**