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

List:       kde-commits
Subject:    KDE/kdebase/workspace/kwin/clients
From:       Lucas Murray <lmurray () undefinedfire ! com>
Date:       2009-06-28 3:20:03
Message-ID: 1246159203.839079.31895.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 988406 by lmurray:

Raise window icon by a single pixel.


 M  +1 -1      oxygen/oxygenbutton.cpp  
 M  +1 -1      ozone/oxygenbutton.cpp  


--- trunk/KDE/kdebase/workspace/kwin/clients/oxygen/oxygenbutton.cpp #988405:988406
@@ -209,7 +209,7 @@
     {
         // we paint the mini icon (which is 16 pixels high)
         int dx = (width() - 16) / 2;
-        int dy = (height() - 16) / 2;
+        int dy = (height() - 16) / 2 - 1;
         painter.drawPixmap(dx, dy, client_.icon().pixmap(16));
         return;
     }
--- trunk/KDE/kdebase/workspace/kwin/clients/ozone/oxygenbutton.cpp #988405:988406
@@ -215,7 +215,7 @@
     if (type_ == ButtonMenu) {
         // we paint the mini icon (which is 16 pixels high)
         int dx = (width() - 16) / 2;
-        int dy = (height() - 16) / 2;
+        int dy = (height() - 16) / 2 - 1;
         painter.drawPixmap(dx, dy, client_.icon().pixmap(16));
         return;
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

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