aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2018-04-07 16:14:12 -0400
committerTony Crisci <tony@dubstepdish.com>2018-04-07 16:14:12 -0400
commitde811823b60cc33fb6a65c6f1045e9d1fb497243 (patch)
treeb8ef5b4e6da520708a199524d0d5bb40974b67ee /include/sway
parentc0f9ee7bd1fc70672dcf64a19c9fbbf5a80b12b0 (diff)
seat focus inactive children foreach
Diffstat (limited to 'include/sway')
-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,
struct sway_container *seat_get_focus_inactive_view(struct sway_seat *seat,
struct sway_container *container);
+/**
+ * Iterate over the focus-inactive children of the container calling the function on each.
+ */
+void seat_focus_inactive_children_for_each(struct sway_seat *seat,
+ struct sway_container *container,
+ void (*f)(struct sway_container *container, void *data), void *data);
+
void seat_apply_config(struct sway_seat *seat, struct seat_config *seat_config);
struct seat_config *seat_get_config(struct sway_seat *seat);