summaryrefslogtreecommitdiff
path: root/src/helpers/SubsurfaceTree.cpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-11-19 16:28:04 +0000
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-11-19 16:28:04 +0000
commitdf132e5ff3395a15c1b48461cc588e4222ae1e02 (patch)
tree93c701bf79af1c8033f105f6db40926aab1272de /src/helpers/SubsurfaceTree.cpp
parent0ffaa8d6673c02e9360865c8cde69a606c036af7 (diff)
update wlroots dep
Diffstat (limited to 'src/helpers/SubsurfaceTree.cpp')
-rw-r--r--src/helpers/SubsurfaceTree.cpp4
1 files changed, 2 insertions, 2 deletions
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