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); }