summaryrefslogtreecommitdiffstats
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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index ff76841e..2e4da438 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -95,6 +95,12 @@ struct sway_container *seat_get_focus_inactive_view(struct sway_seat *seat,
95 struct sway_container *container); 95 struct sway_container *container);
96 96
97/** 97/**
98 * Return the immediate child of container which was most recently focused.
99 */
100struct sway_container *seat_get_active_child(struct sway_seat *seat,
101 struct sway_container *container);
102
103/**
98 * Iterate over the focus-inactive children of the container calling the 104 * Iterate over the focus-inactive children of the container calling the
99 * function on each. 105 * function on each.
100 */ 106 */