feat: allow VT switching even with global shortcuts disabled
(cherry picked from commit 779005f1d2a1035aa4f711a748852f69ca61fc12)icc-effect-5.27.2
parent
1193204b29
commit
cb8c4d5b3d
|
@ -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…
Reference in New Issue