diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-06-22 08:02:46 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-07-20 17:16:26 +0200 |
commit | 3e9dad4e65aed149a2590d6ec05c407eb99d4c6b (patch) | |
tree | 64a3fa855a1ef5d4a2d1887d472d717a3efb9c68 /sw | |
parent | 16382e0c6779305a7460b4182612e4e59561ef6b (diff) |
lokdocview: ensure setView() + doSomethingElse is atomic
Otherwise it's possible that a keystroke is sent in for a different view,
when that other view reacts to an invalidation (invoking paintTile())
caused by a previous keystroke.
I.e. open two views, place the cursor at different positions, type fast,
and some of the characters appeared at the incorrect view.
Change-Id: Ie5e471f1b9c2d69adaa87111fba74d4abe184ef8
Reviewed-on: https://gerrit.libreoffice.org/26562
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
(cherry picked from commit 380a646b957052f96b3f9440d20dc63fc72e1d46)
Diffstat (limited to 'sw')
0 files changed, 0 insertions, 0 deletions