forked from quickshell/quickshell
core/popup: force window destruction to avoid crashes
This commit is contained in:
parent
c3fe93efe6
commit
439788fce0
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue