summaryrefslogtreecommitdiff
path: root/src/events/Popups.cpp
diff options
context:
space:
mode:
authorKainoa Kanter <44733677+ThatOneCalculator@users.noreply.github.com>2022-05-31 13:18:36 -0700
committerGitHub <noreply@github.com>2022-05-31 13:18:36 -0700
commitc600249aee5d4c90ee642855329bde2c243a3248 (patch)
tree7abb9a9741292c6c6c35b04ff2827adf5f3ce87f /src/events/Popups.cpp
parent6d6e967a8dcf9802618783921398ade8d50e8f76 (diff)
parent970018248f44d259cd16c0896862e8b4a464c9b9 (diff)
Merge branch 'vaxerski:main' into main
Diffstat (limited to 'src/events/Popups.cpp')
-rw-r--r--src/events/Popups.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/events/Popups.cpp b/src/events/Popups.cpp
index dde2d46d..457a95fe 100644
--- a/src/events/Popups.cpp
+++ b/src/events/Popups.cpp
@@ -134,7 +134,7 @@ void Events::listener_mapPopupXDG(void* owner, void* data) {
Debug::log(LOG, "New XDG Popup mapped at %d %d", (int)PPOPUP->lx, (int)PPOPUP->ly);
- PPOPUP->pSurfaceTree = SubsurfaceTree::createTreeRoot(PPOPUP->popup->base->surface, addPopupGlobalCoords, PPOPUP);
+ PPOPUP->pSurfaceTree = SubsurfaceTree::createTreeRoot(PPOPUP->popup->base->surface, addPopupGlobalCoords, PPOPUP, PPOPUP->parentWindow);
Debug::log(LOG, "XDG Popup got assigned a surfaceTreeNode %x", PPOPUP->pSurfaceTree);
}