forked from quickshell/quickshell
core/proxywindow: fix ProxiedWindow proxy pointer after reload
Previously was not updated after reload, causing QsWindowAttached to use the old window pointer after it had been freed.
This commit is contained in:
parent
59298f6507
commit
8882f7ca50
4 changed files with 32 additions and 0 deletions
|
@ -168,6 +168,7 @@ public:
|
|||
, mProxy(proxy) {}
|
||||
|
||||
[[nodiscard]] ProxyWindowBase* proxy() const { return this->mProxy; }
|
||||
void setProxy(ProxyWindowBase* proxy) { this->mProxy = proxy; }
|
||||
|
||||
signals:
|
||||
void exposed();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue