Is this ok [self-explaining patch attached], or are there some kind of moral reasons for not showing half a cursor?
Alfredo
Index: screen.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/screen.C,v retrieving revision 1.97 diff -u -p -r1.97 screen.C --- screen.C 30 Nov 2004 01:59:46 -0000 1.97 +++ screen.C 6 Dec 2004 19:51:03 -0000 @@ -183,8 +183,8 @@ void LyXScreen::showCursor(BufferView & 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;