fix gravitation after compositor "polluted" it by updating the decoration _before_ placement
BUG: 278981 REVIEW: 103391
This commit is contained in:
parent
31f9533029
commit
d73c46925d
1 changed files with 1 additions and 0 deletions
|
@ -804,6 +804,7 @@ void Client::setupCompositing()
|
||||||
Toplevel::setupCompositing();
|
Toplevel::setupCompositing();
|
||||||
updateVisibility(); // for internalKeep()
|
updateVisibility(); // for internalKeep()
|
||||||
updateDecoration(true, true);
|
updateDecoration(true, true);
|
||||||
|
move(calculateGravitation(true)); // we just polluted the gravity because the window likely has no decoration yet
|
||||||
}
|
}
|
||||||
|
|
||||||
void Client::finishCompositing()
|
void Client::finishCompositing()
|
||||||
|
|
Loading…
Reference in a new issue