add fixme for cursor positioning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15544 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Edwin Leuven 2006-10-25 09:20:07 +00:00
parent 8571d4c0b8
commit 6b20411c6a

View File

@ -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) 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_->setGeometry(x + 2, y, 2, h);
cursor_->shape_ = shape; cursor_->shape_ = shape;
cursor_->on_ = true; cursor_->on_ = true;