diff options
author | 2021-09-07 16:12:21 +0300 | |
---|---|---|
committer | 2021-09-08 09:36:17 +0200 | |
commit | e76e13ef854a3f1d291521c6f2c9d6e936bca184 (patch) | |
tree | aec96e56e68ac5f70065461878ea31c09f2f3399 /include | |
parent | build: subproject support for wayland-protocols (diff) | |
download | sway-e76e13ef854a3f1d291521c6f2c9d6e936bca184.tar.gz sway-e76e13ef854a3f1d291521c6f2c9d6e936bca184.tar.zst sway-e76e13ef854a3f1d291521c6f2c9d6e936bca184.zip |
view: fix child position calc
Previously, the position was calculated incorrectly for nested
subsurfaces.
Diffstat (limited to 'include')
-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 11ac74c9..5f02d0d6 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h | |||
@@ -183,7 +183,7 @@ struct sway_xwayland_unmanaged { | |||
183 | struct sway_view_child; | 183 | struct sway_view_child; |
184 | 184 | ||
185 | struct sway_view_child_impl { | 185 | struct sway_view_child_impl { |
186 | void (*get_root_coords)(struct sway_view_child *child, int *sx, int *sy); | 186 | void (*get_view_coords)(struct sway_view_child *child, int *sx, int *sy); |
187 | void (*destroy)(struct sway_view_child *child); | 187 | void (*destroy)(struct sway_view_child *child); |
188 | }; | 188 | }; |
189 | 189 | ||