diff options
| author | Vaxry <vaxry@vaxry.net> | 2024-02-29 14:26:02 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-02-29 14:26:02 +0000 |
| commit | 2e111c8cf97d391c25fc6263660271fab605ece1 (patch) | |
| tree | d0e38817bb633457a87eabae0fa109533937199f /src/Window.cpp | |
| parent | b39dcfa497f84486569bf862092dfcfadbfd8747 (diff) | |
xdg: rewrite entire popup implementation
Diffstat (limited to 'src/Window.cpp')
| -rw-r--r-- | src/Window.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Window.cpp b/src/Window.cpp index f1484cb0..6742be60 100644 --- a/src/Window.cpp +++ b/src/Window.cpp @@ -472,7 +472,11 @@ void CWindow::onUnmap() { g_pCompositor->updateWorkspaceWindows(m_iWorkspaceID); + if (m_bIsX11) + return; + m_pSubsurfaceHead.reset(); + m_pPopupHead.reset(); } void CWindow::onMap() { @@ -519,7 +523,11 @@ void CWindow::onMap() { break; } + if (m_bIsX11) + return; + m_pSubsurfaceHead = std::make_unique<CSubsurface>(this); + m_pPopupHead = std::make_unique<CPopup>(this); } void CWindow::onBorderAngleAnimEnd(void* ptr) { |
