kwin: use meta+tab for presenting all windows

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-04-25 10:50:34 +03:00
parent 591e3ab7d4
commit 3b8a6bf261
2 changed files with 2 additions and 2 deletions

View file

@ -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)));

View file

@ -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)"));