From 381fe3aee32f2f8d04c7f2566da5cf1567e3de0a Mon Sep 17 00:00:00 2001 From: Vasily Date: Tue, 16 Apr 2019 15:49:14 +0200 Subject: [PATCH] Add Ctrl+C/Ctrl+V keybinds to X11 version --- src/tabcontrollers/keyboardinput/KeyboardInputX11.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/tabcontrollers/keyboardinput/KeyboardInputX11.cpp b/src/tabcontrollers/keyboardinput/KeyboardInputX11.cpp index 6a85e6a..40f93da 100644 --- a/src/tabcontrollers/keyboardinput/KeyboardInputX11.cpp +++ b/src/tabcontrollers/keyboardinput/KeyboardInputX11.cpp @@ -71,6 +71,16 @@ void sendKeyboardAltEnter() sendKeyPress( XK_Return, XK_Alt_L ); } +void sendKeyboardCtrlC() +{ + sendKeyPress( XK_c, XK_Control_L ); +} + +void sendKeyboardCtrlV() +{ + sendKeyPress( XK_v, XK_Control_L ); +} + void sendMediaNextSong() { // noop