Kaydet (Commit) 56dd27d9 authored tarafından Miklos Vajna's avatar Miklos Vajna

sw: invalidate after keypresses when we have a callback

Ideally we could always just invalidate and paint when the main loop
says so, but currently without priorities that can take some time.

So just do the invalidate-then-paint when we have a callback that is
listening to invalidations.

Change-Id: I6a835a0a149ae01a4ece3a319dffbe81cd5bd3eb
üst 9adaaa36
......@@ -393,7 +393,10 @@ void SwViewShell::ImplEndAction( const bool bIdleEnd )
if ( bPaintsFromSystem )
PaintDesktop( aRect );
pCurrentLayout->Paint( aRect );
if (!mpLibreOfficeKitCallback)
pCurrentLayout->Paint( aRect );
else
pCurrentLayout->GetCurrShell()->InvalidateWindows(aRect.SVRect());
// #i75172# end DrawingLayer paint
DLPostPaint2(true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment