mirror of
https://github.com/swaywm/sway.git
synced 2025-11-02 09:01:40 -05:00
Fix smart gaps
This commit is contained in:
parent
51f68e10ad
commit
742d1764a6
5 changed files with 63 additions and 24 deletions
|
|
@ -255,6 +255,13 @@ void view_get_constraints(struct sway_view *view, double *min_width,
|
|||
uint32_t view_configure(struct sway_view *view, double lx, double ly, int width,
|
||||
int height);
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
bool view_is_only_visible(struct sway_view *view);
|
||||
|
||||
/**
|
||||
* Configure the view's position and size based on the container's position and
|
||||
* size, taking borders into consideration.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue