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

List:       kde-commits
Subject:    KDE/kdebase/workspace/kwin/clients
From:       Martin Gräßlin <ubuntu () martin-graesslin ! com>
Date:       2009-06-11 14:27:28
Message-ID: 1244730448.902075.32725.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 980341 by graesslin:

Invalidate the shadow cache when active client changes.

 M  +6 -0      oxygen/oxygenclient.cpp  
 M  +1 -0      oxygen/oxygenclient.h  
 M  +6 -0      ozone/oxygenclient.cpp  
 M  +1 -0      ozone/oxygenclient.h  


--- trunk/KDE/kdebase/workspace/kwin/clients/oxygen/oxygenclient.cpp #980340:980341
@@ -614,6 +614,12 @@
     return tileSet;
 }
 
+void OxygenClient::activeChange()
+{
+    invalidateCaches();
+    KCommonDecoration::activeChange();
+}
+
 } //namespace Oxygen
 
 //#include "oxygenclient.moc"
--- trunk/KDE/kdebase/workspace/kwin/clients/oxygen/oxygenclient.h #980340:980341
@@ -52,6 +52,7 @@
     virtual int layoutMetric(LayoutMetric lm, bool respectWindowState = true, const \
KCommonDecorationButton * = 0) const;  virtual void updateWindowShape();
     virtual void init();
+    virtual void activeChange();
 
 private:
     void paintEvent(QPaintEvent *e);
--- trunk/KDE/kdebase/workspace/kwin/clients/ozone/oxygenclient.cpp #980340:980341
@@ -624,6 +624,12 @@
     return tileSet;
 }
 
+void OxygenClient::activeChange()
+{
+    invalidateCaches();
+    KCommonDecoration::activeChange();
+}
+
 } //namespace Oxygen
 } //namespace Ozone
 
--- trunk/KDE/kdebase/workspace/kwin/clients/ozone/oxygenclient.h #980340:980341
@@ -54,6 +54,7 @@
     virtual int layoutMetric(LayoutMetric lm, bool respectWindowState = true, const \
KCommonDecorationButton * = 0) const;  virtual void updateWindowShape();
     virtual void init();
+    virtual void activeChange();
 
 private:
     void paintEvent(QPaintEvent *e);


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

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