diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-05-01 17:36:12 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-05-01 17:36:12 +1000 |
commit | abcad0ece9290233652832de17b3ad3e13263c29 (patch) | |
tree | 2e1a9217b2e6cfe1aec013bade31e9a1371d35e4 /include | |
parent | Implement borders (diff) | |
download | sway-abcad0ece9290233652832de17b3ad3e13263c29.tar.gz sway-abcad0ece9290233652832de17b3ad3e13263c29.tar.zst sway-abcad0ece9290233652832de17b3ad3e13263c29.zip |
Move docblock and fix indenting of switch/case.
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/tree/view.h | 4 |
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); | |||
167 | void view_configure(struct sway_view *view, double ox, double oy, int width, | 167 | void view_configure(struct sway_view *view, double ox, double oy, int width, |
168 | int height); | 168 | int height); |
169 | 169 | ||
170 | /** | ||
171 | * Configure the view's position and size based on the swayc's position and | ||
172 | * size, taking borders into consideration. | ||
173 | */ | ||
170 | void view_autoconfigure(struct sway_view *view); | 174 | void view_autoconfigure(struct sway_view *view); |
171 | 175 | ||
172 | void view_set_activated(struct sway_view *view, bool activated); | 176 | void view_set_activated(struct sway_view *view, bool activated); |