From 1536059a4b99082e8b1c6e01ff3fdbf176755f17 Mon Sep 17 00:00:00 2001 From: Vasily Date: Tue, 16 Apr 2019 15:27:42 +0200 Subject: [PATCH] Replace X11 enter key Tester @Goofybud on Debian reported that the enter button did not work. There are apparently 4 different enter buttons in X11: XK_Linefeed XK_Return XK_KP_Enter XK_ISO_Enter I am attempting XK_Return because it seems like the most obvious next attempt. --- src/tabcontrollers/keyboardinput/KeyboardInputX11.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tabcontrollers/keyboardinput/KeyboardInputX11.cpp b/src/tabcontrollers/keyboardinput/KeyboardInputX11.cpp index 746cbfd..6a85e6a 100644 --- a/src/tabcontrollers/keyboardinput/KeyboardInputX11.cpp +++ b/src/tabcontrollers/keyboardinput/KeyboardInputX11.cpp @@ -50,7 +50,7 @@ void sendKeyboardInput( QString input ) void sendKeyboardEnter() { - sendKeyPress( XK_ISO_Enter, noModifier ); + sendKeyPress( XK_Return, noModifier ); } void sendKeyboardBackspace( const int count ) @@ -68,7 +68,7 @@ void sendKeyboardAltTab() void sendKeyboardAltEnter() { - sendKeyPress( XK_ISO_Enter, XK_Alt_L ); + sendKeyPress( XK_Return, XK_Alt_L ); } void sendMediaNextSong()