fixed bug with shaded|maximized window and sizeGrip (reported on kde-look)

svn path=/trunk/KDE/kdebase/workspace/; revision=1028753
This commit is contained in:
Hugo Pereira Da Costa 2009-09-28 05:04:23 +00:00
parent 64442c4fe0
commit 3856909aab

View file

@ -594,7 +594,9 @@ namespace Oxygen
{ {
// update size grip so that it gets the right color // update size grip so that it gets the right color
if( hasSizeGrip() ) // also make sure it is remaped to from z stack,
// unless hidden
if( hasSizeGrip() && !(isShade() || isMaximized() ))
{ {
sizeGrip().activeChange(); sizeGrip().activeChange();
sizeGrip().update(); sizeGrip().update();