aboutsummaryrefslogtreecommitdiffstats
path: root/window-switcher/Switcher.qml
diff options
context:
space:
mode:
Diffstat (limited to 'window-switcher/Switcher.qml')
-rw-r--r--window-switcher/Switcher.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/window-switcher/Switcher.qml b/window-switcher/Switcher.qml
index 1eebfa8..3bc6a86 100644
--- a/window-switcher/Switcher.qml
+++ b/window-switcher/Switcher.qml
@@ -87,6 +87,8 @@ Scope {
Keys.onEscapePressed: root.close()
Keys.onReturnPressed: if (scatter.selected) root.focusAfterClose(scatter.selected)
Keys.onEnterPressed: if (scatter.selected) root.focusAfterClose(scatter.selected)
+ // Like the card's x: the overlay stays open for the next one.
+ Keys.onDeletePressed: if (scatter.selected) Windows.closeWindow(scatter.selected)
Keys.onLeftPressed: scatter.move(-1, 0)
Keys.onRightPressed: scatter.move(1, 0)
Keys.onUpPressed: scatter.move(0, -1)