[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/kstyles/oxygen
From:       Hugo Pereira Da Costa <hugo () oxygen-icons ! org>
Date:       2010-12-23 9:21:32
Message-ID: 20101223092132.ECFE73E1F1 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1208779 by hpereiradacosta:

use effectiveWindId in place of winId, because assigning a winId to non-native (Alien) 
windows sometimes creates glitches. Notably with plasma "application menu" (don't know why, though)


 M  +2 -2      oxygenstyle.cpp  


--- trunk/KDE/kdebase/workspace/kstyles/oxygen/oxygenstyle.cpp #1208778:1208779
@@ -239,7 +239,7 @@
 
             // install WM hint
             if( widget->isWindow() )
-            { helper().setHasBackgroundGradient( widget->winId(), true ); }
+            { helper().setHasBackgroundGradient( widget->effectiveWinId(), true ); }
 
             break;
 
@@ -6554,7 +6554,7 @@
                     else if( isRightOfSelected ) tabRect.setTop( tabRect.top() - 2 );
 
                     if( isFirst )
-                    {
+                    {
 
                         tabRect.adjust( 0, GlowWidth, 0, 0 );
                         if( isFrameAligned ) path.moveTo( tabRect.topRight() + QPoint( 2, 0 ) );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic