aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/input/seat.h
diff options
context:
space:
mode:
authorLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-07 16:14:12 -0400
committerLibravatar Tony Crisci <tony@dubstepdish.com>2018-04-07 16:14:12 -0400
commitde811823b60cc33fb6a65c6f1045e9d1fb497243 (patch)
treeb8ef5b4e6da520708a199524d0d5bb40974b67ee /include/sway/input/seat.h
parentseat get focus inactive view (diff)
downloadsway-de811823b60cc33fb6a65c6f1045e9d1fb497243.tar.gz
sway-de811823b60cc33fb6a65c6f1045e9d1fb497243.tar.zst
sway-de811823b60cc33fb6a65c6f1045e9d1fb497243.zip
seat focus inactive children foreach
Diffstat (limited to 'include/sway/input/seat.h')
-rw-r--r--include/sway/input/seat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h
index 05fff6f7..308f5c6d 100644
--- a/include/sway/input/seat.h
+++ b/include/sway/input/seat.h
@@ -94,6 +94,13 @@ struct sway_container *seat_get_focus_inactive(struct sway_seat *seat,
94struct sway_container *seat_get_focus_inactive_view(struct sway_seat *seat, 94struct sway_container *seat_get_focus_inactive_view(struct sway_seat *seat,
95 struct sway_container *container); 95 struct sway_container *container);
96 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);
103
97void 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);
98 105
99struct seat_config *seat_get_config(struct sway_seat *seat); 106struct seat_config *seat_get_config(struct sway_seat *seat);