From d73c46925d0eae8f4d0769e82fc0ddc0869878a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Mon, 12 Dec 2011 03:17:37 +0100 Subject: [PATCH] fix gravitation after compositor "polluted" it by updating the decoration _before_ placement BUG: 278981 REVIEW: 103391 --- composite.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/composite.cpp b/composite.cpp index 2fddb33cb2..8c793ea823 100644 --- a/composite.cpp +++ b/composite.cpp @@ -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()