From df132e5ff3395a15c1b48461cc588e4222ae1e02 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 19 Nov 2022 16:28:04 +0000 Subject: update wlroots dep --- src/helpers/SubsurfaceTree.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/helpers/SubsurfaceTree.cpp') diff --git a/src/helpers/SubsurfaceTree.cpp b/src/helpers/SubsurfaceTree.cpp index 349f5090..a41030f5 100644 --- a/src/helpers/SubsurfaceTree.cpp +++ b/src/helpers/SubsurfaceTree.cpp @@ -3,8 +3,8 @@ #include "../Compositor.hpp" void addSurfaceGlobalOffset(SSurfaceTreeNode* node, int* lx, int* ly) { - *lx += node->pSurface->sx; - *ly += node->pSurface->sy; + *lx += node->pSurface->current.dx; + *ly += node->pSurface->current.dy; if (node->offsetfn) { // This is the root node -- cgit v1.2.3