diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-04-07 16:14:12 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-04-07 16:14:12 -0400 |
commit | de811823b60cc33fb6a65c6f1045e9d1fb497243 (patch) | |
tree | b8ef5b4e6da520708a199524d0d5bb40974b67ee /include | |
parent | seat get focus inactive view (diff) | |
download | sway-de811823b60cc33fb6a65c6f1045e9d1fb497243.tar.gz sway-de811823b60cc33fb6a65c6f1045e9d1fb497243.tar.zst sway-de811823b60cc33fb6a65c6f1045e9d1fb497243.zip |
seat focus inactive children foreach
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/input/seat.h | 7 |
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, | |||
94 | struct sway_container *seat_get_focus_inactive_view(struct sway_seat *seat, | 94 | 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 | /** | ||
98 | * Iterate over the focus-inactive children of the container calling the function on each. | ||
99 | */ | ||
100 | void 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 | |||
97 | void seat_apply_config(struct sway_seat *seat, struct seat_config *seat_config); | 104 | void seat_apply_config(struct sway_seat *seat, struct seat_config *seat_config); |
98 | 105 | ||
99 | struct seat_config *seat_get_config(struct sway_seat *seat); | 106 | struct seat_config *seat_get_config(struct sway_seat *seat); |