forked from quickshell/quickshell
fix: dangling screen issues and incorrect warnings
This commit is contained in:
parent
a361930865
commit
55bcae4d62
3 changed files with 41 additions and 41 deletions
|
@ -45,6 +45,9 @@ void ProxyWindowBase::onReload(QObject* oldInstance) {
|
|||
this->mContentItem->setWidth(this->width());
|
||||
this->mContentItem->setHeight(this->height());
|
||||
|
||||
// without this the dangling screen pointer wont be updated to a real screen
|
||||
emit this->screenChanged();
|
||||
|
||||
emit this->windowConnected();
|
||||
this->window->setVisible(this->mVisible);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue