From 96fcc2ce895f81295aa0bbadbec868e60a1dd3a3 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Thu, 9 Nov 2023 17:42:56 -0500 Subject: [PATCH] Reduce complexity of {CLEARFIELD} on Linux Instead of `CTRL + HOME, CTRL + SHIFT + END, BACKSPACE` use `HOME, SHIFT + END, BACKSPACE` Fixes #10006 --- src/autotype/xcb/AutoTypeXCB.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/autotype/xcb/AutoTypeXCB.cpp b/src/autotype/xcb/AutoTypeXCB.cpp index 97b9d5908..e51b53887 100644 --- a/src/autotype/xcb/AutoTypeXCB.cpp +++ b/src/autotype/xcb/AutoTypeXCB.cpp @@ -606,8 +606,8 @@ AutoTypeAction::Result AutoTypeExecutorX11::execType(const AutoTypeKey* action) AutoTypeAction::Result AutoTypeExecutorX11::execClearField(const AutoTypeClearField* action) { Q_UNUSED(action); - execType(new AutoTypeKey(Qt::Key_Home, Qt::ControlModifier)); - execType(new AutoTypeKey(Qt::Key_End, Qt::ControlModifier | Qt::ShiftModifier)); + execType(new AutoTypeKey(Qt::Key_Home)); + execType(new AutoTypeKey(Qt::Key_End, Qt::ShiftModifier)); execType(new AutoTypeKey(Qt::Key_Backspace)); return AutoTypeAction::Result::Ok(); }