aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/tree/view.h
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-10-01 09:41:15 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-10-01 09:41:15 -0400
commit742d1764a6fb1fb9269dc9ffe08319da98f4d7b8 (patch)
tree9a9dbe4dd968f78e728496a33e17bf695c773dcd /include/sway/tree/view.h
parentMerge pull request #2737 from Ragnis/criteria-floating (diff)
downloadsway-742d1764a6fb1fb9269dc9ffe08319da98f4d7b8.tar.gz
sway-742d1764a6fb1fb9269dc9ffe08319da98f4d7b8.tar.zst
sway-742d1764a6fb1fb9269dc9ffe08319da98f4d7b8.zip
Fix smart gaps
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 d10251dd..56ccbc6c 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -256,6 +256,13 @@ uint32_t view_configure(struct sway_view *view, double lx, double ly, int width,
256 int height); 256 int height);
257 257
258/** 258/**
259 * Whether or not the view is the only visible view in its tree. If the view
260 * is tiling, there may be floating views. If the view is floating, there may
261 * be tiling views or views in a different floating container.
262 */
263bool view_is_only_visible(struct sway_view *view);
264
265/**
259 * Configure the view's position and size based on the container's position and 266 * Configure the view's position and size based on the container's position and
260 * size, taking borders into consideration. 267 * size, taking borders into consideration.
261 */ 268 */