diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-10-05 18:19:32 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-10-06 15:04:56 +0200 |
commit | 0d24dd25e6f506b5f9128d70d7eb21f0bb4dde89 (patch) | |
tree | 37611d945315e5ccbf325c9b0baa86d7a7435b6c /vcl/inc | |
parent | 53da556c600fa82ba84bc7fdce6a594b43f2b097 (diff) |
KDE update system loop integration
This updates the system loop integration to be on par with the
other backends. This includes:
1. Process LO user events before other LO events
2. Correctly handle elapsed QTimer events
3. Don't wait-yield in the main thread from a non-main thread
Change-Id: Ia17be032ae39dc4c7bfa44cadd22d85a1b9c4fbd
Reviewed-on: https://gerrit.libreoffice.org/43198
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/unx/gendisp.hxx | 2 | ||||
-rw-r--r-- | vcl/inc/unx/saldisp.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/unx/gendisp.hxx b/vcl/inc/unx/gendisp.hxx index 5c8f5113c300..2d5bc12fcadf 100644 --- a/vcl/inc/unx/gendisp.hxx +++ b/vcl/inc/unx/gendisp.hxx @@ -47,7 +47,7 @@ public: void SendInternalEvent( SalFrame* pFrame, void* pData, SalEvent nEvent = SalEvent::UserEvent ); void CancelInternalEvent( SalFrame* pFrame, void* pData, SalEvent nEvent ); - bool DispatchInternalEvent(); + bool DispatchInternalEvent( bool bHandleAllCurrentEvent = false ); bool MouseCaptured( const SalFrame *pFrameData ) const { return m_pCapture == pFrameData; } diff --git a/vcl/inc/unx/saldisp.hxx b/vcl/inc/unx/saldisp.hxx index 8f96e03630b0..54799149e25c 100644 --- a/vcl/inc/unx/saldisp.hxx +++ b/vcl/inc/unx/saldisp.hxx @@ -179,7 +179,7 @@ public: virtual void StartTimer( sal_uLong nMS ); virtual void StopTimer(); - bool CheckTimeout( bool bExecuteTimers = true ); + virtual bool CheckTimeout( bool bExecuteTimers = true ); SalI18N_InputMethod* GetInputMethod() const { return m_pInputMethod; } Display* GetDisplay() const { return m_pDisplay; } |