summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sway/input/seat.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index c7be58b5..308f5c6d 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -87,8 +87,19 @@ struct sway_container *seat_get_focus(struct sway_seat *seat);
87struct sway_container *seat_get_focus_inactive(struct sway_seat *seat, 87struct sway_container *seat_get_focus_inactive(struct sway_seat *seat,
88 struct sway_container *container); 88 struct sway_container *container);
89 89
90struct sway_container *seat_get_focus_by_type(struct sway_seat *seat, 90/**
91 struct sway_container *container, enum sway_container_type type); 91 * Descend into the focus stack to find the focus-inactive view. Useful for
92 * container placement when they change position in the tree.
93 */
94struct sway_container *seat_get_focus_inactive_view(struct sway_seat *seat,
95 struct sway_container *container);
96
97/**
98 * Iterate over the focus-inactive children of the container calling the function on each.
99 */
100void seat_focus_inactive_children_for_each(struct sway_seat *seat,
101 struct sway_container *container,
102 void (*f)(struct sway_container *container, void *data), void *data);
92 103
93void seat_apply_config(struct sway_seat *seat, struct seat_config *seat_config); 104void seat_apply_config(struct sway_seat *seat, struct seat_config *seat_config);
94 105