diff --git a/src/core/popupwindow.cpp b/src/core/popupwindow.cpp index 40a3d19..1ad4de5 100644 --- a/src/core/popupwindow.cpp +++ b/src/core/popupwindow.cpp @@ -24,6 +24,11 @@ void ProxyPopupWindow::completeWindow() { void ProxyPopupWindow::postCompleteWindow() {} +bool ProxyPopupWindow::deleteOnInvisible() const { + // Currently crashes in normal mode, do not have the time to debug it now. + return true; +} + qint32 ProxyPopupWindow::x() const { // QTBUG-121550 auto basepos = this->mParentProxyWindow == nullptr ? 0 : this->mParentProxyWindow->x(); diff --git a/src/core/popupwindow.hpp b/src/core/popupwindow.hpp index d0aa4d9..7815d40 100644 --- a/src/core/popupwindow.hpp +++ b/src/core/popupwindow.hpp @@ -64,6 +64,7 @@ public: void completeWindow() override; void postCompleteWindow() override; + [[nodiscard]] bool deleteOnInvisible() const override; void setScreen(QuickshellScreenInfo* screen) override; void setVisible(bool visible) override;