mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
* src/frontends/qt2/qscreen.C
(void QScreen::showCursor): (void QScreen::removeCursor): use update instead of repaint. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13459 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
556da959ae
commit
4fd5c07875
@ -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_);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user