]> git.lyx.org Git - features.git/commitdiff
draw incomplete cursors
authorAlfredo Braunstein <abraunst@lyx.org>
Mon, 6 Dec 2004 21:59:23 +0000 (21:59 +0000)
committerAlfredo Braunstein <abraunst@lyx.org>
Mon, 6 Dec 2004 21:59:23 +0000 (21:59 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9352 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/ChangeLog
src/frontends/screen.C

index 4e7a1c8d7f09a3bdc0f60bbb6a08e06d631c357f..7ba705facd9d41f4e0850ca2ae35e2387a7516a5 100644 (file)
@@ -1,6 +1,12 @@
+
+2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * screen.C (showCursor): draw half cursors
+
 2004-11-26  Alfredo Braunstein  <abraunst@lyx.org>
 
-       * Painter.C: adjust * screen.[Ch] (fitCursor): remove,
+       * Painter.C: adjust 
+       * screen.[Ch] (fitCursor): remove,
        (showCursor): adjust, (redraw): adjust
 
 2004-11-20  Lars Gullik Bjonnes  <larsbj@gullik.net>
index d9b5b7c2be2c169e286595bc7c4153bac2b54bce..147d444d883e81c26d27e907ce67ceb50a00beea 100644 (file)
@@ -183,8 +183,8 @@ void LyXScreen::showCursor(BufferView & bv)
        y -= ascent;
        //lyxerr << "LyXScreen::showCursor x: " << x << " y: " << y << endl;
 
-       // if it doesn't fit entirely on the screen, don't try to show it
-       if (y < 0 || y + h > workarea().workHeight())
+       // if it doesn't touch the screen, don't try to show it
+       if (y + h < 0 || y >= workarea().workHeight())
                return;
 
        cursor_visible_ = true;