From c6bcbdd56eaa169e3fba7ff62af447ea74b3c71b Mon Sep 17 00:00:00 2001 From: Wang Yu Date: Thu, 14 Aug 2025 15:01:36 +0800 Subject: [PATCH] feat: improve Sogou input method positioning in default list - Changed insertion point from end() to begin() to prioritize Sogou input method Log: improve Sogou input method positioning in default list pms: STORY-39133 --- debian/changelog | 6 ++++++ ...7-Add-Sogou-to-the-default-zh_CN-input-method-list.patch | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 7b07b060..6a812ffc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +fcitx5 (5.1.11-2deepin11) unstable; urgency=medium + + * improve Sogou input method positioning in default list + + -- Wang Yu Thu, 14 Aug 2025 14:33:43 +0800 + fcitx5 (5.1.11-2deepin10) unstable; urgency=medium * default-la. diff --git a/debian/patches/0007-Add-Sogou-to-the-default-zh_CN-input-method-list.patch b/debian/patches/0007-Add-Sogou-to-the-default-zh_CN-input-method-list.patch index acc1d5fd..8483ec04 100644 --- a/debian/patches/0007-Add-Sogou-to-the-default-zh_CN-input-method-list.patch +++ b/debian/patches/0007-Add-Sogou-to-the-default-zh_CN-input-method-list.patch @@ -55,7 +55,7 @@ index 4aaae06..47b2d8a 100644 } + if (!appendInputMethods.empty()) { + group.inputMethodList().insert( -+ group.inputMethodList().end(), ++ group.inputMethodList().begin(), + std::make_move_iterator(appendInputMethods.begin()), + std::make_move_iterator(appendInputMethods.end())); + }