seat get focus inactive view

This commit is contained in:
Tony Crisci 2018-04-07 16:06:36 -04:00
parent 4b200869b2
commit c0f9ee7bd1
3 changed files with 33 additions and 24 deletions

View file

@ -87,8 +87,12 @@ struct sway_container *seat_get_focus(struct sway_seat *seat);
struct sway_container *seat_get_focus_inactive(struct sway_seat *seat,
struct sway_container *container);
struct sway_container *seat_get_focus_by_type(struct sway_seat *seat,
struct sway_container *container, enum sway_container_type type);
/**
* Descend into the focus stack to find the focus-inactive view. Useful for
* container placement when they change position in the tree.
*/
struct sway_container *seat_get_focus_inactive_view(struct sway_seat *seat,
struct sway_container *container);
void seat_apply_config(struct sway_seat *seat, struct seat_config *seat_config);