diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2019-04-27 13:37:52 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2019-05-07 11:30:10 +0200 |
commit | 37a19f781d4e4f0fa1c6abf4679d222213bbddfb (patch) | |
tree | 206970f29cd6c9bd70246c578f328f8f34ce80e9 /vcl/source | |
parent | f1ed27eed68228edbab5eb63951a602263e4c3a7 (diff) |
unipoll: emit user input-events & uno commands directly when in unipoll mode.
Rather than emitting asynchronously at idle.
Change-Id: I6c72e9fad0b5587941e3a4a4d17d331a0d889942
Reviewed-on: https://gerrit.libreoffice.org/71809
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/app/svapp.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx index 0037d35443f9..df05d78d864f 100644 --- a/vcl/source/app/svapp.cxx +++ b/vcl/source/app/svapp.cxx @@ -1675,6 +1675,12 @@ void registerPollCallbacks( } } +bool isUnipoll() +{ + ImplSVData * pSVData = ImplGetSVData(); + return pSVData && pSVData->mpPollClosure != nullptr; +} + } } // namespace lok, namespace vcl /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |