cursor fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5692 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-11-21 14:52:59 +00:00
parent 80a3858b32
commit c0eb43a927
2 changed files with 5 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2002-11-21 John Levon <levon@movementarian.org>
* qscreen.C: show content pane cursor even when
focus is on dialog, command buffer etc.
2002-11-20 John Levon <levon@movementarian.org>
* QMathDialog.C: don't pass empty commands to math

View File

@ -61,12 +61,6 @@ void QScreen::showManualCursor(LyXText const * text, int x, int y,
if (!qApp->focusWidget())
return;
string const focusname(qApp->focusWidget()->name());
// Probably a hack
if (focusname != "content_pane")
return;
int const y1 = max(y - text->first_y - asc, 0);
int const y_tmp = min(y - text->first_y + desc, owner_.height());