input: ensure that removeTextContext happens in the right order.
commit42dd11c0a2c9e71e8163363afbfd14f448c65ef5
authorMichael Meeks <michael.meeks@collabora.com>
Tue, 16 Jul 2019 21:59:49 +0000 (16 22:59 +0100)
committerMichael Meeks <michael.meeks@collabora.com>
Wed, 2 Oct 2019 15:02:24 +0000 (2 17:02 +0200)
tree81a1191c6af5b5556ffecc47d9d7c05c03702362
parentf779609a9be63d70b895ba6f0d769e91b5321a2e
input: ensure that removeTextContext happens in the right order.

Unfortunately the backspace key-events we emit trigger uno accelerator
handling, which happens another PostMessage further out, so cheat by
doing it synchronously, and relying on the PostMessage inside to get the
ordering right.

Change-Id: Ibee80af7674fd5107cb1c9ba323071ac024c45ae
Reviewed-on: https://gerrit.libreoffice.org/79883
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
desktop/source/lib/init.cxx