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

List:       kde-commits
Subject:    branches/KDE/4.0/kdebase/workspace/kwin
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2008-01-15 13:08:57
Message-ID: 1200402537.391794.21856.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 761859 by lunakl:

Trigger full repaint after configuration change and after switching to X,
just in case.
BUG: 154825



 M  +3 -0      events.cpp  
 M  +1 -0      workspace.cpp  


--- branches/KDE/4.0/kdebase/workspace/kwin/events.cpp #761858:761859
@@ -476,7 +476,10 @@
             break;
         case VisibilityNotify:
             if( compositing() && overlay != None && e->xvisibility.window == overlay )
+                {
                 overlay_visible = ( e->xvisibility.state != VisibilityFullyObscured );
+                addRepaintFull();
+                }
             break;
         default:
             if( e->type == Extensions::randrNotifyEvent() && Extensions::randrAvailable() )
--- branches/KDE/4.0/kdebase/workspace/kwin/workspace.cpp #761858:761859
@@ -1041,6 +1041,7 @@
         setupCompositing();
         if( effects ) // setupCompositing() may fail
             effects->reconfigure();
+        addRepaintFull();
     }
     else
         finishCompositing();
[prev in list] [next in list] [prev in thread] [next in thread] 

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