aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-05-01 17:36:12 +1000
committerDrew DeVault <sir@cmpwn.com>2018-05-01 07:46:57 -0400
commitfa5de2876e3e8db4966d3404f01ba9600204d75b (patch)
treec18a1bb47df649e6b4516609d84fb29ba5e98b84 /include/sway
parent630ba30e3c60cfe3f1018b4a1701f0c2a0f6da9a (diff)
Move docblock and fix indenting of switch/case.
Diffstat (limited to 'include/sway')
-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);