diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-15 10:56:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-15 11:11:44 +0100 |
commit | 6dc1d2706f519d91617ac1a12fc2051d97ef98c0 (patch) | |
tree | da3bc39c8cc03815845c550c3c64b366188497c7 /vcl/inc | |
parent | 1303f209415b6cf95f9cbe9924d03c87ed4337d6 (diff) |
another stab at tdf#91393
block paints only if the new requested size is larger than the original and
unblock on explicit expose events as well as configure ones
Change-Id: I72829a5b6e55d6bbdaf934af427ee3b50fe11fd4
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/salframe.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/salframe.hxx b/vcl/inc/salframe.hxx index f5213a101851..d576b60a5744 100644 --- a/vcl/inc/salframe.hxx +++ b/vcl/inc/salframe.hxx @@ -102,7 +102,7 @@ class VCL_PLUGIN_PUBLIC SalFrame , public SalGeometryProvider { protected: - bool m_bAwaitingSizeConfirmation; + bool m_bPaintsBlocked; private: // the VCL window corresponding to this frame VclPtr<vcl::Window> m_pWindow; @@ -246,7 +246,7 @@ public: long CallCallback( sal_uInt16 nEvent, const void* pEvent ) const { return m_pProc ? long(m_pProc( m_pWindow, const_cast<SalFrame*>(this), nEvent, pEvent )) : 0; } - bool AwaitingSizeConfirmation() const { return m_bAwaitingSizeConfirmation; } + bool PaintsBlocked() const { return m_bPaintsBlocked; } }; #endif // INCLUDED_VCL_INC_SALFRAME_HXX |