aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-09-07 16:12:21 +0300
committerFurkan Sahin <furkan-dev@proton.me>2021-09-07 16:12:21 +0300
commit2cc6cab2ce37dd073bae7713464f563768ed0eb3 (patch)
treeaec96e56e68ac5f70065461878ea31c09f2f3399 /include
parentf86fdd061fd3eb49d14aff6bed9b3b8563270b5d (diff)
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.h2
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 {
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);
};