[wayland] Don't update margins in ShellClient::finishInit
Summary: It doesn't make sense to update window margins in finishInit because no buffer is attached yet at that moment. Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: davidedmundson, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D23743
This commit is contained in:
parent
630006e6f7
commit
062303244a
1 changed files with 0 additions and 2 deletions
|
@ -357,8 +357,6 @@ void ShellClient::finishInit() {
|
||||||
SurfaceInterface *s = surface();
|
SurfaceInterface *s = surface();
|
||||||
disconnect(s, &SurfaceInterface::committed, this, &ShellClient::finishInit);
|
disconnect(s, &SurfaceInterface::committed, this, &ShellClient::finishInit);
|
||||||
|
|
||||||
updateWindowMargins();
|
|
||||||
|
|
||||||
bool needsPlacement = !isInitialPositionSet();
|
bool needsPlacement = !isInitialPositionSet();
|
||||||
|
|
||||||
if (supportsWindowRules()) {
|
if (supportsWindowRules()) {
|
||||||
|
|
Loading…
Reference in a new issue