~fboucault/unity-2d/spread_monitor_finer_change_notification

« back to all changes in this revision

Viewing changes to shell/Shell.qml

Improvements to the StrutManager

More signals, less need to tell it to update itself

Approved by Florian Boucault

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    /* Space reserved by strutManager is taken off screen.availableGeometry but
27
27
       we want the shell to take all the available space, including the one we
28
28
       reserved ourselves via strutManager. */
29
 
    height: declarativeView.screen.availableGeometry.height + (strutManager.enabled ? strutManager.height : 0)
 
29
    height: declarativeView.screen.availableGeometry.height
30
30
    width: declarativeView.screen.availableGeometry.width + (strutManager.enabled ? strutManager.width : 0)
31
31
 
32
32
    Accessible.name: "shell"
170
170
        height: launcherLoader.height
171
171
        width: launcherLoader.width
172
172
        enabled: Utils.clamp(launcher2dConfiguration.hideMode, 0, 2) == 0
173
 
 
174
 
        Component.onCompleted: {
175
 
            strutManager.updateStrut()
176
 
        }
177
173
    }
178
174
}