Commit c795f138 authored by Nate Graham's avatar Nate Graham 🔩

Use Meta+D to Show Desktop by default

Summary: Bind the keyboard shortcut {key Meta D} to {nav Show Desktop}.

Test Plan:
Apply patch, compile KWin, do `kwin --replace`, reset KWin shortcuts to default values if you've previously changed the Show Desktop's keyboard shortcut

{key Meta D} now shows and hides the desktop.

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: filipf, abetts, zzag, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D20066
parent 97ea8021
......@@ -149,7 +149,7 @@ for (int i = 0; i < 8; ++i) {
}
DEF(I18N_NOOP("Window to Next Screen"), 0, slotWindowToNextScreen);
DEF(I18N_NOOP("Window to Previous Screen"), 0, slotWindowToPrevScreen);
DEF(I18N_NOOP("Show Desktop"), 0, slotToggleShowDesktop);
DEF(I18N_NOOP("Show Desktop"), Qt::META + Qt::Key_D, slotToggleShowDesktop);
for (int i = 0; i < 8; ++i) {
DEF3(I18N_NOOP("Switch to Screen %1"), 0, slotSwitchToScreen, i);
......
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