diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-02-20 19:01:02 -0500 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-02-20 19:01:02 -0500 |
commit | 66a975038c2f6cc3d2ebb5210d182b0440bc0a88 (patch) | |
tree | b620c323c402595de66e47989666cf3a46edd1ab | |
parent | bugfix: get right layout box for rendering views (diff) | |
download | sway-66a975038c2f6cc3d2ebb5210d182b0440bc0a88.tar.gz sway-66a975038c2f6cc3d2ebb5210d182b0440bc0a88.tar.zst sway-66a975038c2f6cc3d2ebb5210d182b0440bc0a88.zip |
add doc to sway_seat_get_focus_inactive()
-rw-r--r-- | include/sway/input/seat.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index f9244f43..1d55bec7 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h | |||
@@ -58,6 +58,15 @@ void sway_seat_set_focus(struct sway_seat *seat, swayc_t *container); | |||
58 | 58 | ||
59 | swayc_t *sway_seat_get_focus(struct sway_seat *seat); | 59 | swayc_t *sway_seat_get_focus(struct sway_seat *seat); |
60 | 60 | ||
61 | /** | ||
62 | * Return the last container to be focused for the seat (or the most recently | ||
63 | * opened if no container has received focused) that is a child of the given | ||
64 | * container. The focus-inactive container of the root window is the focused | ||
65 | * container for the seat (if the seat does have focus). This function can be | ||
66 | * used to determine what container gets focused next if the focused container | ||
67 | * is destroyed, or focus moves to a container with children and we need to | ||
68 | * descend into the next leaf in focus order. | ||
69 | */ | ||
61 | swayc_t *sway_seat_get_focus_inactive(struct sway_seat *seat, swayc_t *container); | 70 | swayc_t *sway_seat_get_focus_inactive(struct sway_seat *seat, swayc_t *container); |
62 | 71 | ||
63 | swayc_t *sway_seat_get_focus_by_type(struct sway_seat *seat, | 72 | swayc_t *sway_seat_get_focus_by_type(struct sway_seat *seat, |