diff --git a/src/frontends/ChangeLog b/src/frontends/ChangeLog index 4e7a1c8d7f..7ba705facd 100644 --- a/src/frontends/ChangeLog +++ b/src/frontends/ChangeLog @@ -1,6 +1,12 @@ + +2004-12-06 Alfredo Braunstein + + * screen.C (showCursor): draw half cursors + 2004-11-26 Alfredo Braunstein - * Painter.C: adjust * screen.[Ch] (fitCursor): remove, + * Painter.C: adjust + * screen.[Ch] (fitCursor): remove, (showCursor): adjust, (redraw): adjust 2004-11-20 Lars Gullik Bjonnes diff --git a/src/frontends/screen.C b/src/frontends/screen.C index d9b5b7c2be..147d444d88 100644 --- a/src/frontends/screen.C +++ b/src/frontends/screen.C @@ -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;