]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiWorkArea.C
add fixme for cursor positioning
[lyx.git] / src / frontends / qt4 / GuiWorkArea.C
index f383e574e0882d7835e272c2bac4eaf5d2474a7c..d8d0c1096502882610617f947626120d22b195c2 100644 (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)
 {
+       // 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;