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

List:       kde-commits
Subject:    KDE/kdelibs/plasma
From:       Marco Martin <notmart () gmail ! com>
Date:       2009-04-08 20:37:46
Message-ID: 1239223066.001281.17901.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 951274 by mart:

restore as offscreen widgets containments that was offscreen widgets


 M  +5 -0      containment.cpp  


--- trunk/KDE/kdelibs/plasma/containment.cpp #951273:951274
@@ -247,6 +247,11 @@
     if (geo.size() != geo.size().expandedTo(minimumSize())) {
         setMinimumSize(minimumSize().boundedTo(geo.size()));
     }
+
+    //are we an offscreen containment?
+    if (containmentType() != PanelContainment && containmentType() != \
CustomPanelContainment && geo.right() < 0) { +        \
corona()->addOffscreenWidget(this); +    }
     setGeometry(geo);
 
     setLocation((Plasma::Location)group.readEntry("location", (int)d->location));


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

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