fix gravitation after compositor "polluted" it by updating the decoration _before_ placement

BUG: 278981
REVIEW: 103391
This commit is contained in:
Thomas Lübking 2011-12-12 03:17:37 +01:00
parent 31f9533029
commit d73c46925d

View file

@ -804,6 +804,7 @@ void Client::setupCompositing()
Toplevel::setupCompositing();
updateVisibility(); // for internalKeep()
updateDecoration(true, true);
move(calculateGravitation(true)); // we just polluted the gravity because the window likely has no decoration yet
}
void Client::finishCompositing()