]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView2.C
more changes, read the Changelog
[lyx.git] / src / BufferView2.C
index ecc4c117188ffafbc2d4be73f239ed7803761a13..0e56648dcb479f6ce57ba960450e9c6709e3a05d 100644 (file)
@@ -745,8 +745,8 @@ void BufferView::showLockedInsetCursor(long x, long y, int asc, int desc)
                        text->SetCursor(this, cursor,
                                        cursor.par(), cursor.pos() - 1);
                y += cursor.y() + the_locking_inset->InsetInInsetY();
-               pimpl_->screen_->ShowManualCursor(x, y, asc, desc,
-                                        LyXScreen::BAR_SHAPE);
+               pimpl_->screen_->ShowManualCursor(text, x, y, asc, desc,
+                                                 LyXScreen::BAR_SHAPE);
        }
 }
 
@@ -763,7 +763,7 @@ void BufferView::fitLockedInsetCursor(long x, long y, int asc, int desc)
 {
        if (the_locking_inset && available()){
                y += text->cursor.y() + the_locking_inset->InsetInInsetY();
-               if (pimpl_->screen_->FitManualCursor(x, y, asc, desc))
+               if (pimpl_->screen_->FitManualCursor(text, x, y, asc, desc))
                        updateScrollbar();
        }
 }