view: fix child position calc

Previously, the position was calculated incorrectly for nested
subsurfaces.
This commit is contained in:
Kirill Primak 2021-09-07 16:12:21 +03:00 committed by Simon Ser
parent adf9e16c88
commit e76e13ef85
3 changed files with 22 additions and 34 deletions

View file

@ -183,7 +183,7 @@ struct sway_xwayland_unmanaged {
struct sway_view_child;
struct sway_view_child_impl {
void (*get_root_coords)(struct sway_view_child *child, int *sx, int *sy);
void (*get_view_coords)(struct sway_view_child *child, int *sx, int *sy);
void (*destroy)(struct sway_view_child *child);
};