diff options
author | Kenny Levinsen <kl@kl.wtf> | 2021-02-08 01:45:50 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-02-09 09:37:10 +0100 |
commit | 63a663516362646bd8e2a641c0aa0574f888cca3 (patch) | |
tree | 2df58443a0a67a0415514fe1b80b178fb77f963d /include/sway | |
parent | shells: Align geometry change commit handling (diff) | |
download | sway-63a663516362646bd8e2a641c0aa0574f888cca3.tar.gz sway-63a663516362646bd8e2a641c0aa0574f888cca3.tar.zst sway-63a663516362646bd8e2a641c0aa0574f888cca3.zip |
view: Read geometry directly in view_update_size
Diffstat (limited to 'include/sway')
-rw-r--r-- | include/sway/tree/view.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 18dc2019..86bd981c 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h | |||
@@ -316,7 +316,7 @@ void view_map(struct sway_view *view, struct wlr_surface *wlr_surface, | |||
316 | 316 | ||
317 | void view_unmap(struct sway_view *view); | 317 | void view_unmap(struct sway_view *view); |
318 | 318 | ||
319 | void view_update_size(struct sway_view *view, int width, int height); | 319 | void view_update_size(struct sway_view *view); |
320 | void view_center_surface(struct sway_view *view); | 320 | void view_center_surface(struct sway_view *view); |
321 | 321 | ||
322 | void view_child_init(struct sway_view_child *child, | 322 | void view_child_init(struct sway_view_child *child, |