Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/Task.qml
Show First 20 Lines • Show All 136 Lines • ▼ Show 20 Line(s) | 136 | } else if (plasmoid.configuration.middleClickAction == TaskManagerApplet.Backend.ToggleMinimized) { | |||
---|---|---|---|---|---|
137 | tasksModel.requestToggleMinimized(modelIndex()); | 137 | tasksModel.requestToggleMinimized(modelIndex()); | ||
138 | } | 138 | } | ||
139 | } else if (mouse.button == Qt.LeftButton) { | 139 | } else if (mouse.button == Qt.LeftButton) { | ||
140 | TaskTools.activateTask(modelIndex(), model, mouse.modifiers, task); | 140 | TaskTools.activateTask(modelIndex(), model, mouse.modifiers, task); | ||
141 | if (plasmoid.configuration.showToolTips) { | 141 | if (plasmoid.configuration.showToolTips) { | ||
142 | hideToolTipTemporarily(); | 142 | hideToolTipTemporarily(); | ||
143 | } | 143 | } | ||
144 | } | 144 | } | ||
145 | | ||||
146 | backend.cancelHighlightWindows(); | ||||
145 | } | 147 | } | ||
146 | 148 | | |||
147 | pressed = false; | 149 | pressed = false; | ||
148 | pressX = -1; | 150 | pressX = -1; | ||
149 | pressY = -1; | 151 | pressY = -1; | ||
150 | } | 152 | } | ||
151 | 153 | | |||
152 | onPositionChanged: { | 154 | onPositionChanged: { | ||
▲ Show 20 Lines • Show All 386 Lines • Show Last 20 Lines |