]> git.lyx.org Git - lyx.git/commitdiff
add fixme for cursor positioning
authorEdwin Leuven <e.leuven@gmail.com>
Wed, 25 Oct 2006 09:20:07 +0000 (09:20 +0000)
committerEdwin Leuven <e.leuven@gmail.com>
Wed, 25 Oct 2006 09:20:07 +0000 (09:20 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15544 a592a061-630c-0410-9148-cb99ea01b6c8

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;