effects/Overview: Move delegate handlers to the bottom close to each other
This commit is contained in:
parent
329731be2d
commit
4a6879e6ee
1 changed files with 6 additions and 7 deletions
|
@ -243,12 +243,6 @@ FocusScope {
|
|||
animationDuration: effect.animationDuration
|
||||
animationEnabled: container.animationEnabled
|
||||
organized: container.organized
|
||||
onWindowClicked: {
|
||||
if (eventPoint.event.button !== Qt.MiddleButton) {
|
||||
return;
|
||||
}
|
||||
window.closeWindow();
|
||||
}
|
||||
Keys.priority: Keys.AfterItem
|
||||
Keys.forwardTo: searchResults
|
||||
model: KWinComponents.ClientFilterModel {
|
||||
|
@ -262,7 +256,6 @@ FocusScope {
|
|||
~KWinComponents.ClientFilterModel.Desktop &
|
||||
~KWinComponents.ClientFilterModel.Notification
|
||||
}
|
||||
onActivated: effect.deactivate();
|
||||
delegate: WindowHeapDelegate {
|
||||
windowHeap: heap
|
||||
|
||||
|
@ -282,6 +275,12 @@ FocusScope {
|
|||
opacity: 1 - downGestureProgress
|
||||
onDownGestureTriggered: client.closeWindow()
|
||||
}
|
||||
onActivated: effect.deactivate();
|
||||
onWindowClicked: {
|
||||
if (eventPoint.event.button === Qt.MiddleButton) {
|
||||
window.closeWindow();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Milou.ResultsView {
|
||||
|
|
Loading…
Reference in a new issue