@@ -93,8 +93,10 @@ Item {
93 y: windowTitleTopMargin
93 y: windowTitleTopMargin
94// //y: priv.spreadTopMargin + priv.contentTopMargin + settings.spreadOffset + settings.titleOffset - height - (priv.contentTopMargin - height) / 4
94// //y: priv.spreadTopMargin + priv.contentTopMargin + settings.spreadOffset + settings.titleOffset - height - (priv.contentTopMargin - height) / 4
95// visible: height < priv.contentTopMargin
95// visible: height < priv.contentTopMargin
96− property var highlightedSurface: root.model ? root.model.surfaceAt(root.highlightedIndex) : null
96+ readonly property var highlightedSurface: root.model ? root.model.surfaceAt(root.highlightedIndex) : null
97+ readonly property var highlightedApp: root.model ? root.model.applicationAt(root.highlightedIndex) : null
97− text: root.highlightedIndex >= 0 && highlightedSurface ? highlightedSurface.name : ""
98+ text: root.highlightedIndex >= 0 && highlightedSurface && highlightedSurface.name != "" ? highlightedSurface.name :
99+ highlightedApp ? highlightedApp.name : ""
98 fontSize: root.height < units.gu(85) ? 'medium' : 'large'
100 fontSize: root.height < units.gu(85) ? 'medium' : 'large'
99 color: "white"
101 color: "white"
100 opacity: root.highlightedIndex >= 0 ? 1 : 0
102 opacity: root.highlightedIndex >= 0 ? 1 : 0