aboutsummaryrefslogtreecommitdiff
path: root/include/sway/input
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-05-21 11:24:05 +0100
committerGitHub <noreply@github.com>2018-05-21 11:24:05 +0100
commita7adbf4b79dce4d61de1a8a71cba535aeae6bc76 (patch)
tree68210775c09209884b46b5866ca1b4530ca24324 /include/sway/input
parentec1c4c6c3683772637dbfeaf5cdbaea4e1c6e49d (diff)
parent048b29527b8b0ec9c6cd9d0439b74bf73f4f6e2d (diff)
downloadsway-a7adbf4b79dce4d61de1a8a71cba535aeae6bc76.tar.xz
Merge pull request #2005 from RyanDwyer/tabbed-layout
Implement tabbed layout
Diffstat (limited to 'include/sway/input')
-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,
struct sway_container *container);
/**
+ * Return the immediate child of container which was most recently focused.
+ */
+struct sway_container *seat_get_active_child(struct sway_seat *seat,
+ struct sway_container *container);
+
+/**
* Iterate over the focus-inactive children of the container calling the
* function on each.
*/