Verified Commit 1f69e031 authored by ivan tkachenko's avatar ivan tkachenko
Browse files

effects/Overview: Move delegate handlers to the bottom close to each other

(cherry picked from commit 4a6879e6)
parent 5bc3050f
......@@ -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 {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment