mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
cursor fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5692 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
80a3858b32
commit
c0eb43a927
@ -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
|
||||
|
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user