From: Uwe Stöhr Date: Fri, 15 Jun 2007 23:52:01 +0000 (+0000) Subject: WorkArea.cpp: fix cursor placement by updating the cursor position; X-Git-Tag: 1.6.10~9367 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1f1d5788bcb58b6417b7850eeb77cee7e7cd41f4;p=lyx.git 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 --- 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;