From 1f1d5788bcb58b6417b7850eeb77cee7e7cd41f4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20St=C3=B6hr?= Date: Fri, 15 Jun 2007 23:52:01 +0000 Subject: [PATCH] WorkArea.cpp: fix cursor placement by updating the cursor position; fixes http://bugzilla.lyx.org/show_bug.cgi?id=3873 patch from Stefan git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18799 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/WorkArea.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/frontends/WorkArea.cpp b/src/frontends/WorkArea.cpp index a7f6e3bad7..4e8187567c 100644 --- a/src/frontends/WorkArea.cpp +++ b/src/frontends/WorkArea.cpp @@ -144,6 +144,13 @@ void WorkArea::redraw() updateScrollbar(); + // update cursor position, because otherwise it has to wait until + // the blinking interval is over + if (cursor_visible_) { + hideCursor(); + showCursor(); + } + ViewMetricsInfo const & vi = buffer_view_->viewMetricsInfo(); greyed_out_ = false; -- 2.39.5