feat: allow VT switching even with global shortcuts disabled

remotes/origin/work/zzag/track-stack-order
Adam Williamson 3 years ago committed by Marc Deop i Argemí
parent e0062f675d
commit 779005f1d2
No known key found for this signature in database
GPG Key ID: 9E403BB899E7C810
  1. 4
      src/input.cpp

@ -2822,8 +2822,8 @@ private:
void InputRedirection::setupInputFilters()
{
const bool hasGlobalShortcutSupport = waylandServer()->hasGlobalShortcutSupport();
if ((kwinApp()->session()->capabilities() & Session::Capability::SwitchTerminal)
&& hasGlobalShortcutSupport) {
if (kwinApp()->session()->capabilities() & Session::Capability::SwitchTerminal)
{
installInputEventFilter(new VirtualTerminalFilter);
}
installInputEventSpy(new HideCursorSpy);

Loading…
Cancel
Save