summaryrefslogtreecommitdiffstats
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r--include/sway/tree/view.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 2c7b4c2b..028be536 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -265,6 +265,13 @@ uint32_t view_configure(struct sway_view *view, double lx, double ly, int width,
265 int height); 265 int height);
266 266
267/** 267/**
268 * Whether or not the view is the only visible view in its tree. If the view
269 * is tiling, there may be floating views. If the view is floating, there may
270 * be tiling views or views in a different floating container.
271 */
272bool view_is_only_visible(struct sway_view *view);
273
274/**
268 * Configure the view's position and size based on the container's position and 275 * Configure the view's position and size based on the container's position and
269 * size, taking borders into consideration. 276 * size, taking borders into consideration.
270 */ 277 */