From d9003af7a198d8cb9b66dc8a598e350e96795947 Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Mon, 2 Nov 2020 23:24:14 +0100 Subject: [PATCH] Call of TIOCLINUX only in the Linux console --- ChangeLog | 1 + src/fkeyboard.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index eca68fb3..58d631eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2020-11-02 Markus Gans * Non-blocking reading before timeout after keystroke * Every fourth event processing causes a terminal flush + * Call of TIOCLINUX only in the Linux console 2020-11-01 Markus Gans * Now FINAL CUT queues keyboard and mouse input to speed up diff --git a/src/fkeyboard.cpp b/src/fkeyboard.cpp index 2fddcdc8..dcacb060 100644 --- a/src/fkeyboard.cpp +++ b/src/fkeyboard.cpp @@ -557,7 +557,7 @@ FKey FKeyboard::keyCorrection (const FKey& keycode) const FKey key_correction; #if defined(__linux__) - if ( linux ) + if ( linux && FTerm::isLinuxTerm() ) key_correction = linux->modifierKeyCorrection(keycode); else key_correction = keycode;