summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/manager-lib/inprocesssurfaceitem.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/manager-lib/inprocesssurfaceitem.cpp b/src/manager-lib/inprocesssurfaceitem.cpp
index e86e2a08..ddb55c55 100644
--- a/src/manager-lib/inprocesssurfaceitem.cpp
+++ b/src/manager-lib/inprocesssurfaceitem.cpp
@@ -51,6 +51,8 @@ InProcessSurfaceItem::InProcessSurfaceItem(FakeApplicationManagerWindow *content
m_windowProperties = content->m_windowProperties;
setParentItem(content->parentItem());
content->setParentItem(this);
+ setWidth(content->width());
+ setHeight(content->height());
}
InProcessSurfaceItem::~InProcessSurfaceItem()