summaryrefslogtreecommitdiffstats
path: root/src/core/frontend/applets/software_keyboard.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-11-08 19:05:50 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-11-08 19:05:50 +0100
commit1af499c15b35ee0cd7a90262d91feb874bed55db (patch)
tree71f1af22ca33f8c7c51706c2fc72c8f2f89744b1 /src/core/frontend/applets/software_keyboard.cpp
parentservice/pctl: Stub EndFreeCommunication (diff)
downloadyuzu-1af499c15b35ee0cd7a90262d91feb874bed55db.tar
yuzu-1af499c15b35ee0cd7a90262d91feb874bed55db.tar.gz
yuzu-1af499c15b35ee0cd7a90262d91feb874bed55db.tar.bz2
yuzu-1af499c15b35ee0cd7a90262d91feb874bed55db.tar.lz
yuzu-1af499c15b35ee0cd7a90262d91feb874bed55db.tar.xz
yuzu-1af499c15b35ee0cd7a90262d91feb874bed55db.tar.zst
yuzu-1af499c15b35ee0cd7a90262d91feb874bed55db.zip
Diffstat (limited to '')
-rw-r--r--src/core/frontend/applets/software_keyboard.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/frontend/applets/software_keyboard.cpp b/src/core/frontend/applets/software_keyboard.cpp
index 12c76c9ee..c4863ee73 100644
--- a/src/core/frontend/applets/software_keyboard.cpp
+++ b/src/core/frontend/applets/software_keyboard.cpp
@@ -16,7 +16,8 @@ DefaultSoftwareKeyboardApplet::~DefaultSoftwareKeyboardApplet() = default;
void DefaultSoftwareKeyboardApplet::InitializeKeyboard(
bool is_inline, KeyboardInitializeParameters initialize_parameters,
- std::function<void(Service::AM::Applets::SwkbdResult, std::u16string)> submit_normal_callback_,
+ std::function<void(Service::AM::Applets::SwkbdResult, std::u16string, bool)>
+ submit_normal_callback_,
std::function<void(Service::AM::Applets::SwkbdReplyType, std::u16string, s32)>
submit_inline_callback_) {
if (is_inline) {
@@ -128,7 +129,7 @@ void DefaultSoftwareKeyboardApplet::ExitKeyboard() const {
}
void DefaultSoftwareKeyboardApplet::SubmitNormalText(std::u16string text) const {
- submit_normal_callback(Service::AM::Applets::SwkbdResult::Ok, text);
+ submit_normal_callback(Service::AM::Applets::SwkbdResult::Ok, text, true);
}
void DefaultSoftwareKeyboardApplet::SubmitInlineText(std::u16string_view text) const {