From 195e5b53f2488e11a0c4155800ba7d4fef544f28 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 a3e4d75226..2e1b22cdba 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(); }