diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-31 21:55:21 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-31 21:55:21 +0200 |
| commit | 51dfc0f9c917fd6fcb4e5b5c0639d34392e8067b (patch) | |
| tree | 43290d15fcccf31c74072e70050f3755d7d6a24b /src/events/Popups.cpp | |
| parent | a3860e99cb0cbdfa17337e762931f7de2a9494e5 (diff) | |
fix critical crash with multi-popups
Diffstat (limited to 'src/events/Popups.cpp')
| -rw-r--r-- | src/events/Popups.cpp | 1 |
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); } |
