diff options
author | Philip Lamb <phil.git@eden.net.nz> | 2021-03-29 17:55:54 +1300 |
---|---|---|
committer | Philip Lamb <phil.git@eden.net.nz> | 2021-03-29 17:55:54 +1300 |
commit | b8a74e89cf4548deaf2b5f059a7b96ffa13a8680 (patch) | |
tree | 89a99e12274837011925e917ce3a82e27e411097 /support | |
parent | 0539043e35c3615c408c9bff692d1c615335dc8a (diff) | |
download | servo-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.cpp | 2 |
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) { |