You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kwin/kwin-5.27.0-allow-vt-switch...

14 lines
629 B

--- kwin-5.27.0/src/input.cpp 2023-02-09 04:15:33.000000000 -0800
+++ kwin-5.27.0/src/input.cpp.new 2023-02-20 20:40:33.920599151 -0800
@@ -2822,8 +2822,8 @@
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);