aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2018-05-01 17:36:12 +1000
committerFurkan Sahin <furkan-dev@proton.me>2018-05-01 17:36:12 +1000
commit74cffcf8e2ec01d8e722fc38911230d48a547873 (patch)
tree2e1a9217b2e6cfe1aec013bade31e9a1371d35e4 /include
parente4bd626673ed957e9fa53c75819905d1fa0d2458 (diff)
Move docblock and fix indenting of switch/case.
Diffstat (limited to 'include')
-rw-r--r--include/sway/tree/view.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h
index 352a62bc..4395e94a 100644
--- a/include/sway/tree/view.h
+++ b/include/sway/tree/view.h
@@ -167,6 +167,10 @@ const char *view_get_instance(struct sway_view *view);
void view_configure(struct sway_view *view, double ox, double oy, int width,
int height);
+/**
+ * Configure the view's position and size based on the swayc's position and
+ * size, taking borders into consideration.
+ */
void view_autoconfigure(struct sway_view *view);
void view_set_activated(struct sway_view *view, bool activated);