KDE/kdebase/workspace/plasma/containments/desktop

Marco Martin notmart at gmail.com
Wed Feb 4 16:40:29 CET 2009


SVN commit 921150 by mart:

update the available space on every containment resize.
this should fix the bug where applets aredumped all on the top left
corner
should be sure this really makes sense before backporting :)
CCMAIL:plasma-devel at kde.org


 M  +5 -0      desktop.cpp  


--- trunk/KDE/kdebase/workspace/plasma/containments/desktop/desktop.cpp #921149:921150
@@ -97,6 +97,11 @@
         m_addPanelAction->setVisible(!locked);
     }
 
+    if (constraints & Plasma::SizeConstraint) {
+        refreshWorkingArea();
+    }
+
+    //FIXME: are refres on working are change and refresh on resize mutually exclusive?
     if (constraints & Plasma::StartupCompletedConstraint) {
         connect(corona(), SIGNAL(availableScreenRegionChanged()),
                 this, SLOT(refreshWorkingArea()));


More information about the Plasma-devel mailing list