mirror of
https://github.com/swaywm/sway.git
synced 2025-11-11 13:29:51 -05:00
tree/view: fix smart gaps when ancestor container is tabbed or stacked
Fixes #5406.
This commit is contained in:
parent
14e887bc3d
commit
ed08f2f20c
3 changed files with 13 additions and 11 deletions
|
|
@ -239,11 +239,12 @@ uint32_t view_configure(struct sway_view *view, double lx, double ly, int width,
|
|||
bool view_inhibit_idle(struct sway_view *view);
|
||||
|
||||
/**
|
||||
* Whether or not the view is the only visible view in its tree. If the view
|
||||
* is tiling, there may be floating views. If the view is floating, there may
|
||||
* be tiling views or views in a different floating container.
|
||||
* Whether or not this view's most distant ancestor (possibly itself) is the
|
||||
* only visible node in its tree. If the view is tiling, there may be floating
|
||||
* views. If the view is floating, there may be tiling views or views in a
|
||||
* different floating container.
|
||||
*/
|
||||
bool view_is_only_visible(struct sway_view *view);
|
||||
bool view_ancestor_is_only_visible(struct sway_view *view);
|
||||
|
||||
/**
|
||||
* Configure the view's position and size based on the container's position and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue