move updateMaskArea() calls into VisibilityManager

work/spdx
Michail Vourlakos 4 years ago
parent a5626c1e58
commit 6e3c35510b

@ -419,11 +419,23 @@ Item{
}
}
Connections {
target: latteView ? latteView.effects : null
onRectChanged: manager.updateMaskArea()
}
Connections{
target: themeExtended ? themeExtended : null
onThemeChanged: latteView.effects.forceMaskRedraw();
}
Connections {
target: LatteCore.WindowSystem
onCompositingActiveChanged: {
manager.updateMaskArea();
}
}
onIsFloatingInClientSideChanged: updateMaskArea();
onInNormalStateChanged: {

@ -426,10 +426,6 @@ BackgroundProperties{
}
latteView.effects.rect = efGeometry;
//! needed both for NOCOMPOSITING environments AND
//! View::localGeometry calculations
visibilityManager.updateMaskArea();
}
Timer {

@ -684,8 +684,6 @@ Item {
Plasmoid.onImmutableChanged: {
plasmoid.action("configure").visible = !plasmoid.immutable;
plasmoid.action("configure").enabled = !plasmoid.immutable;
visibilityManager.updateMaskArea();
}
//////////////END OF CONNECTIONS
@ -1023,19 +1021,6 @@ Item {
}
//END functions
////BEGIN interfaces
Connections {
target: LatteCore.WindowSystem
onCompositingActiveChanged: {
visibilityManager.updateMaskArea();
}
}
////END interfaces
/////BEGIN: Title Tooltip///////////
PlasmaCore.Dialog{
id: titleTooltipDialog

Loading…
Cancel
Save