~agateau/unity-2d/edge-reveal

« back to all changes in this revision

Viewing changes to launcher/Launcher.qml

[launcher] Always match a call to beginForceVisible() with a call to endForceVisible() so that the launcher doesn’t get stuck in forced visible mode.

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
    Connections {
128
128
        target: applications
129
129
        onApplicationBecameUrgent: {
130
 
            visibilityController.beginForceVisible()
131
 
            /* When the urgent animation stops, endForceVisible() will be called. */
132
 
 
133
130
            if (main.autoScrolling) {
134
131
                main.stopAutoScrolling()
135
132
            }