From 6b20411c6af38129deb66df8f23371ac233ec76e Mon Sep 17 00:00:00 2001 From: Edwin Leuven Date: Wed, 25 Oct 2006 09:20:07 +0000 Subject: [PATCH] add fixme for cursor positioning git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15544 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiWorkArea.C | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontends/qt4/GuiWorkArea.C b/src/frontends/qt4/GuiWorkArea.C index f383e574e0..d8d0c10965 100644 --- a/src/frontends/qt4/GuiWorkArea.C +++ b/src/frontends/qt4/GuiWorkArea.C @@ -599,6 +599,9 @@ void GuiWorkArea::expose(int x, int y, int w, int h) void GuiWorkArea::showCursor(int x, int y, int h, CursorShape shape) { + // FIXME: the BufferView (via Cursor) should provide the correct positioning + // for the moment we put the cursor 2 pixels to the right + //cursor_->setGeometry(x, y, 2, h); cursor_->setGeometry(x + 2, y, 2, h); cursor_->shape_ = shape; cursor_->on_ = true; -- 2.39.2