mirror of
https://github.com/swaywm/sway.git
synced 2025-11-23 06:59:48 -05:00
focus: beyond fullscreen when focused explicitly
When issuing a focus command on a specific container, users expect to proceed it even if is hidden by a fullscreen window. This matches the behavior of i3.
This commit is contained in:
parent
eea9c6331f
commit
c6e7cf1ae5
4 changed files with 38 additions and 15 deletions
|
|
@ -163,6 +163,11 @@ struct sway_container *tiling_container_at(
|
|||
void container_for_each_child(struct sway_container *container,
|
||||
void (*f)(struct sway_container *container, void *data), void *data);
|
||||
|
||||
/**
|
||||
* Returns the fullscreen container obstructing this container if it exists.
|
||||
*/
|
||||
struct sway_container *container_obstructing_fullscreen_container(struct sway_container *container);
|
||||
|
||||
/**
|
||||
* Returns true if the given container is an ancestor of this container.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue