mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
Merge pull request #1769 from acrisci/focus-inactive-fixes
Focus inactive fixes
This commit is contained in:
commit
07b6be6214
6 changed files with 82 additions and 26 deletions
|
|
@ -87,8 +87,20 @@ 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);
|
||||
|
||||
/**
|
||||
* 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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue