From a4d91bd3ab70ed444916592485c9af1043c03246 Mon Sep 17 00:00:00 2001 From: Sandro Giessl Date: Fri, 7 Oct 2005 14:43:56 +0000 Subject: [PATCH] forward port Fix the decoration specific part of the bug: Shedule a repaint for every maximizeChange svn path=/trunk/KDE/kdebase/workspace/; revision=468271 --- lib/kcommondecoration.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/kcommondecoration.cpp b/lib/kcommondecoration.cpp index 5a4b5b03be..b6846c2619 100644 --- a/lib/kcommondecoration.cpp +++ b/lib/kcommondecoration.cpp @@ -518,6 +518,8 @@ void KCommonDecoration::maximizeChange() : i18n("Restore")); m_button[MaxButton]->reset(KCommonDecorationButton::StateChange); } + updateWindowShape(); + widget()->update(); } void KCommonDecoration::desktopChange() @@ -602,7 +604,6 @@ void KCommonDecoration::slotMaximize() if (m_button[MaxButton]) { maximize(m_button[MaxButton]->lastMousePress() ); - updateWindowShape(); } }