From 3b8a6bf261576c903c7a6b94cfe00fdc1e2ac2c4 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Thu, 25 Apr 2024 10:50:34 +0300 Subject: [PATCH] kwin: use meta+tab for presenting all windows Signed-off-by: Ivailo Monev --- kwin/effects/presentwindows/presentwindows.cpp | 2 +- kwin/effects/presentwindows/presentwindows_config.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kwin/effects/presentwindows/presentwindows.cpp b/kwin/effects/presentwindows/presentwindows.cpp index f109920d..64026587 100755 --- a/kwin/effects/presentwindows/presentwindows.cpp +++ b/kwin/effects/presentwindows/presentwindows.cpp @@ -74,7 +74,7 @@ PresentWindowsEffect::PresentWindowsEffect() connect(a, SIGNAL(globalShortcutChanged(QKeySequence)), this, SLOT(globalShortcutChanged(QKeySequence))); KAction* b = (KAction*)actionCollection->addAction("ExposeAll"); b->setText(i18n("Toggle Present Windows (All desktops)")); - b->setGlobalShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Tab)); + b->setGlobalShortcut(QKeySequence(Qt::META + Qt::Key_Tab)); shortcutAll = b->globalShortcut(); connect(b, SIGNAL(triggered(bool)), this, SLOT(toggleActiveAllDesktops())); connect(b, SIGNAL(globalShortcutChanged(QKeySequence)), this, SLOT(globalShortcutChangedAll(QKeySequence))); diff --git a/kwin/effects/presentwindows/presentwindows_config.cpp b/kwin/effects/presentwindows/presentwindows_config.cpp index 2a6a332a..1c33869a 100644 --- a/kwin/effects/presentwindows/presentwindows_config.cpp +++ b/kwin/effects/presentwindows/presentwindows_config.cpp @@ -59,7 +59,7 @@ PresentWindowsEffectConfig::PresentWindowsEffectConfig(QWidget* parent, const QV KAction* a = (KAction*) m_actionCollection->addAction("ExposeAll"); a->setText(i18n("Toggle Present Windows (All desktops)")); a->setProperty("isConfigurationAction", true); - a->setGlobalShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Tab)); + a->setGlobalShortcut(QKeySequence(Qt::META + Qt::Key_Tab)); KAction* b = (KAction*) m_actionCollection->addAction("Expose"); b->setText(i18n("Toggle Present Windows (Current desktop)"));