diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-31 22:16:13 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-31 22:16:13 +0200 |
| commit | 970018248f44d259cd16c0896862e8b4a464c9b9 (patch) | |
| tree | c7c2f1de0ceac67255a196bd583ff2af9862d5d4 /src/events/Popups.cpp | |
| parent | 471654d791abb1ea6c4740572fda6df53e6b24bf (diff) | |
Don't damage surfaces coming from not rendered windows
Diffstat (limited to 'src/events/Popups.cpp')
| -rw-r--r-- | src/events/Popups.cpp | 2 |
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); } |
