]> git.lyx.org Git - features.git/commitdiff
- Move theCoords.doneUpdating here - right before we paint the cursor
authorAsger Ottar Alstrup <alstrup@lyx.org>
Fri, 4 Feb 2005 07:16:03 +0000 (07:16 +0000)
committerAsger Ottar Alstrup <alstrup@lyx.org>
Fri, 4 Feb 2005 07:16:03 +0000 (07:16 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9585 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/screen.C

index 2edabf1d02ebcc7a2f83512025b8b3212c168658..834b96a5e32ab006c6a3fda4be8e28879806ec56 100644 (file)
@@ -21,6 +21,7 @@
 #include "BufferView.h"
 #include "buffer.h"
 #include "bufferparams.h"
+#include "coordcache.h"
 #include "cursor.h"
 #include "debug.h"
 #include "language.h"
@@ -221,6 +222,7 @@ void LyXScreen::redraw(BufferView & bv, ViewMetricsInfo const & vi)
        lyxerr[Debug::DEBUG] << "Redraw screen" << endl;
        expose(0, 0, workarea().workWidth(), workarea().workHeight());
        workarea().getPainter().end();
+       theCoords.doneUpdating();
        showCursor(bv);
 }