diff options
author | Tony Crisci <tony@dubstepdish.com> | 2018-04-07 16:06:36 -0400 |
---|---|---|
committer | Tony Crisci <tony@dubstepdish.com> | 2018-04-07 16:06:36 -0400 |
commit | c0f9ee7bd1fc70672dcf64a19c9fbbf5a80b12b0 (patch) | |
tree | 90e2f7261e5e9191bea374459a9b5c7fc0acedf3 /include | |
parent | Merge pull request #1767 from emersion/fix-dmenu (diff) | |
download | sway-c0f9ee7bd1fc70672dcf64a19c9fbbf5a80b12b0.tar.gz sway-c0f9ee7bd1fc70672dcf64a19c9fbbf5a80b12b0.tar.zst sway-c0f9ee7bd1fc70672dcf64a19c9fbbf5a80b12b0.zip |
seat get focus inactive view
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/input/seat.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/sway/input/seat.h b/include/sway/input/seat.h index c7be58b5..05fff6f7 100644 --- a/include/sway/input/seat.h +++ b/include/sway/input/seat.h | |||
@@ -87,8 +87,12 @@ struct sway_container *seat_get_focus(struct sway_seat *seat); | |||
87 | struct sway_container *seat_get_focus_inactive(struct sway_seat *seat, | 87 | struct sway_container *seat_get_focus_inactive(struct sway_seat *seat, |
88 | struct sway_container *container); | 88 | struct sway_container *container); |
89 | 89 | ||
90 | struct sway_container *seat_get_focus_by_type(struct sway_seat *seat, | 90 | /** |
91 | struct sway_container *container, enum sway_container_type type); | 91 | * Descend into the focus stack to find the focus-inactive view. Useful for |
92 | * container placement when they change position in the tree. | ||
93 | */ | ||
94 | struct sway_container *seat_get_focus_inactive_view(struct sway_seat *seat, | ||
95 | struct sway_container *container); | ||
92 | 96 | ||
93 | void seat_apply_config(struct sway_seat *seat, struct seat_config *seat_config); | 97 | void seat_apply_config(struct sway_seat *seat, struct seat_config *seat_config); |
94 | 98 | ||