From d2e9e039bdad2207feb42c377b6af334d3e9a1e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 29 Oct 2009 20:21:09 +0000 Subject: [PATCH] It helps to trigger a repaint if the cube should rotate. BUG: 208520 svn path=/trunk/KDE/kdebase/workspace/; revision=1042447 --- effects/cube/cube.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/effects/cube/cube.cpp b/effects/cube/cube.cpp index d64f816683..badfff29ba 100644 --- a/effects/cube/cube.cpp +++ b/effects/cube/cube.cpp @@ -2218,7 +2218,10 @@ void CubeEffect::tabBoxAdded( int mode ) void CubeEffect::tabBoxUpdated() { if( activated ) + { rotateToDesktop( effects->currentTabBoxDesktop() ); + effects->addRepaintFull(); + } } void CubeEffect::tabBoxClosed()