fix published absolute geometry in !compositing

--absolute geometry is the published area that the
dock/panel occupies when it is shown. So it should
not change when the dock becomes hidden. This patch
fixes the case for the !compositing environment.
pull/8/head
Michail Vourlakos 6 years ago
parent 7644e67b35
commit bab3e9126e

@ -575,8 +575,7 @@ Item{
//the shadows size must be removed from the maskArea
//before updating the localDockGeometry
if ((!latteView.behaveAsPlasmaPanel || root.editMode)
&& Latte.WindowSystem.compositingActive) {
if (!latteView.behaveAsPlasmaPanel || root.editMode) {
var fixedThickness = root.editMode ? root.iconSize + root.thickMargins : root.realPanelThickness;
if (plasmoid.formFactor === PlasmaCore.Types.Vertical) {
@ -600,7 +599,6 @@ Item{
}
//console.log("update geometry ::: "+tempGeometry);
latteView.localGeometry = tempGeometry;
}
}

Loading…
Cancel
Save