mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-23 01:05:59 +01:00
fix critical crash with multi-popups
This commit is contained in:
parent
a3860e99cb
commit
51dfc0f9c9
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ void Events::listener_newPopupXDG(void* owner, void* data) {
|
||||||
PNEWPOPUP->popup = WLRPOPUP;
|
PNEWPOPUP->popup = WLRPOPUP;
|
||||||
PNEWPOPUP->lx = &PWINDOW->m_vEffectivePosition.x;
|
PNEWPOPUP->lx = &PWINDOW->m_vEffectivePosition.x;
|
||||||
PNEWPOPUP->ly = &PWINDOW->m_vEffectivePosition.y;
|
PNEWPOPUP->ly = &PWINDOW->m_vEffectivePosition.y;
|
||||||
|
PNEWPOPUP->parentWindow = PWINDOW;
|
||||||
createNewPopup(WLRPOPUP, PNEWPOPUP);
|
createNewPopup(WLRPOPUP, PNEWPOPUP);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue