forked from quickshell/quickshell
core/proxywindow: notify for width/height changes after connect
Previously the content item would resize but w/h wouldn't be updated.
This commit is contained in:
parent
5301227ec1
commit
f0aca2030e
1 changed files with 3 additions and 1 deletions
|
@ -154,9 +154,11 @@ void ProxyWindowBase::completeWindow() {
|
|||
this->setColor(this->mColor);
|
||||
this->updateMask();
|
||||
|
||||
// notify initial x and y positions
|
||||
// notify initial / post-connection geometry
|
||||
emit this->xChanged();
|
||||
emit this->yChanged();
|
||||
emit this->widthChanged();
|
||||
emit this->heightChanged();
|
||||
|
||||
this->mContentItem->setParentItem(this->window->contentItem());
|
||||
this->mContentItem->setWidth(this->width());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue