aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2021-02-08 01:45:50 +0100
committerSimon Ser <contact@emersion.fr>2021-02-09 09:37:10 +0100
commit63a663516362646bd8e2a641c0aa0574f888cca3 (patch)
tree2df58443a0a67a0415514fe1b80b178fb77f963d /include/sway
parent82b1019658cea14e508de04e49d23c8f9c744159 (diff)
view: Read geometry directly in view_update_size
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/tree/view.h2
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,
void view_unmap(struct sway_view *view);
-void view_update_size(struct sway_view *view, int width, int height);
+void view_update_size(struct sway_view *view);
void view_center_surface(struct sway_view *view);
void view_child_init(struct sway_view_child *child,