aboutsummaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorPhilip Lamb <phil.git@eden.net.nz>2021-03-29 17:55:54 +1300
committerPhilip Lamb <phil.git@eden.net.nz>2021-03-29 17:55:54 +1300
commitb8a74e89cf4548deaf2b5f059a7b96ffa13a8680 (patch)
tree89a99e12274837011925e917ce3a82e27e411097 /support
parent0539043e35c3615c408c9bff692d1c615335dc8a (diff)
downloadservo-b8a74e89cf4548deaf2b5f059a7b96ffa13a8680.tar.gz
servo-b8a74e89cf4548deaf2b5f059a7b96ffa13a8680.zip
Improve IME messaging to embedder with insertion point index and multiline flag.
Diffstat (limited to 'support')
-rw-r--r--support/hololens/ServoApp/ServoControl/Servo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/hololens/ServoApp/ServoControl/Servo.cpp b/support/hololens/ServoApp/ServoControl/Servo.cpp
index 33b675b98e2..01967566bd8 100644
--- a/support/hololens/ServoApp/ServoControl/Servo.cpp
+++ b/support/hololens/ServoApp/ServoControl/Servo.cpp
@@ -66,7 +66,7 @@ void on_panic(const char *cbacktrace) {
throw hresult_error(E_FAIL, backtrace);
}
-void on_ime_show(const char *text, int32_t x, int32_t y, int32_t width,
+void on_ime_show(const char *text, int32_t text_index, bool multiline, int32_t x, int32_t y, int32_t width,
int32_t height) {
hstring htext = L"";
if (text != nullptr) {