]> git.lyx.org Git - features.git/blobdiff - src/BufferView2.C
Small bugfix for cursor-misplacement and insert of BREAKLINES
[features.git] / src / BufferView2.C
index b4b46aa6536c40e4f07cb7884ac300e32cebf13e..267d88a0aa9018291bb5526a3b5929654a21b4df 100644 (file)
@@ -739,7 +739,8 @@ int BufferView::lockInset(UpdatableInset * inset)
 void BufferView::showLockedInsetCursor(long x, long y, int asc, int desc)
 {
        if (the_locking_inset && available()) {
-               y += text->cursor.y;
+               y += text->cursor.y +
+                   the_locking_inset->InsetInInsetY();
                pimpl_->screen->ShowManualCursor(x, y, asc, desc,
                                         LyXScreen::BAR_SHAPE);
        }