From d348035a60361a1b9ba9eb7b67013204a24a6633 Mon Sep 17 00:00:00 2001 From: Jan-Marek Glogowski Date: Thu, 8 Sep 2016 06:55:30 +0200 Subject: Drop special idle handling Idles are just instant timers, which should most time have a low priority, By dropping most special idle handling we'll just schedule by priority. This also reverts SalYieldResult back to a bool, which just indicates if any event was processed. Change-Id: Ia0b91b06dffb77af066f01838d8f9483523bf67d --- vcl/inc/unx/saldisp.hxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vcl/inc/unx/saldisp.hxx') diff --git a/vcl/inc/unx/saldisp.hxx b/vcl/inc/unx/saldisp.hxx index 31b11b470530..2c23d6010c35 100644 --- a/vcl/inc/unx/saldisp.hxx +++ b/vcl/inc/unx/saldisp.hxx @@ -153,7 +153,6 @@ protected: timeval m_aTimeout; sal_uLong m_nTimeoutMS; int m_pTimeoutFDS[2]; - bool blockIdleTimeout; int nFDs_; fd_set aReadFDS_; @@ -167,7 +166,7 @@ public: virtual ~SalXLib(); virtual void Init(); - virtual SalYieldResult Yield( bool bWait, bool bHandleAllCurrentEvents ); + virtual bool Yield( bool bWait, bool bHandleAllCurrentEvents ); virtual void Wakeup(); virtual void PostUserEvent(); -- cgit