]> git.lyx.org Git - features.git/blobdiff - src/frontends/screen.C
- Move theCoords.doneUpdating here - right before we paint the cursor
[features.git] / 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);
 }