#include "debug.h"
#include "gettext.h"
#include "errorlist.h"
+#include "funcrequest.h"
#include "iterators.h"
#include "language.h"
#include "lyxcursor.h"
bool BufferView::fitLockedInsetCursor(int x, int y, int asc, int desc)
{
if (theLockingInset() && available()) {
- y += text->cursor.iy() + theLockingInset()->insetInInsetY();
+ y += text->cursor.y() + theLockingInset()->insetInInsetY();
if (screen().fitManualCursor(this, text, x, y, asc, desc)) {
updateScrollbar();
return true;