From: Alfredo Braunstein Date: Mon, 6 Dec 2004 21:59:23 +0000 (+0000) Subject: draw incomplete cursors X-Git-Tag: 1.6.10~14753 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3c696553ac215aba4fe723bd18892d437a713efd;p=features.git draw incomplete cursors git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9352 a592a061-630c-0410-9148-cb99ea01b6c8 --- 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;