Commit 4d526416 authored by Nate Graham's avatar Nate Graham
Browse files

[windowswitcher] Implement keyboard navigation

Implements keyboard navigation via the up and down arrow keys for the Breeze window switcher.

Support for this went in with D16693.

CCBUG: 370185

Test Plan: Alt-tab, use arrow keys, it works!

Reviewers: #plasma, graesslin

Reviewed By: #plasma, graesslin

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 02541b8a
......@@ -129,6 +129,18 @@ KWin.Switcher {
highlight: PlasmaComponents.Highlight {}
* Key navigation on outer item for two reasons:
* @li we have to emit the change signal
* @li on multiple invocation it does not work on the list view. Focus seems to be lost.
Keys.onPressed: {
if (event.key == Qt.Key_Up) {
} else if (event.key == Qt.Key_Down) {
Markdown is supported
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