use update instead of repaint when changing cursor

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13460 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2006-03-23 11:20:58 +00:00
parent 161b10a13b
commit 956270cc3b
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2006-03-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* qscreen.C (showCursor, removeCursor): just update, instead of a
full repaint.
2006-03-23 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* QPrefs.C (apply, update_contents):

View File

@ -144,7 +144,7 @@ void QScreen::showCursor(int x, int y, int h, Cursor_Shape shape)
break;
}
owner_.getContent()->repaint(
owner_.getContent()->update(
cursor_x_, cursor_y_,
cursor_w_, cursor_h_);
}
@ -160,5 +160,5 @@ void QScreen::removeCursor()
&nocursor_pixmap_, 0, 0, cursor_w_, cursor_h_);
owner_.getContent()
->repaint(cursor_x_, cursor_y_, cursor_w_, cursor_h_);
->update(cursor_x_, cursor_y_, cursor_w_, cursor_h_);
}

View File

@ -81,6 +81,8 @@ What's new
- Fix Find&Replace with sciword bindings.
- small optimizations in the way the Qt frontend updates the screen,
- Fix crash when deleting row/column in a math array
- remove zombie wheel mouse spin box from the qt preferences dialog (bug 783).