summaryrefslogtreecommitdiff
path: root/src/events/Popups.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/Popups.cpp')
-rw-r--r--src/events/Popups.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/events/Popups.cpp b/src/events/Popups.cpp
index ac5329e8..90e0851d 100644
--- a/src/events/Popups.cpp
+++ b/src/events/Popups.cpp
@@ -84,6 +84,7 @@ void Events::listener_newPopupXDG(void* owner, void* data) {
PNEWPOPUP->popup = WLRPOPUP;
PNEWPOPUP->lx = &PWINDOW->m_vEffectivePosition.x;
PNEWPOPUP->ly = &PWINDOW->m_vEffectivePosition.y;
+ PNEWPOPUP->parentWindow = PWINDOW;
createNewPopup(WLRPOPUP, PNEWPOPUP);
}