mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
fix bug 818. Please report any problems with pixel dirt from the cursor to me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7089 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
96a07595c3
commit
fb5ff81c81
@ -1,3 +1,8 @@
|
||||
2003-06-03 John Levon <levon@movementarian.org>
|
||||
|
||||
* qscreen.C: paint before saving the cursor pixmap
|
||||
(bug 818)
|
||||
|
||||
2003-06-03 John Levon <levon@movementarian.org>
|
||||
|
||||
* QTabular.C: fix a crash
|
||||
|
@ -136,6 +136,11 @@ void QScreen::showCursor(int x, int y, int h, Cursor_Shape shape)
|
||||
if (!qApp->focusWidget())
|
||||
return;
|
||||
|
||||
// We could have pending paints. If we don't process them
|
||||
// before, we end up with pixel dirt when the cursor is
|
||||
// in insets
|
||||
qApp->processEvents();
|
||||
|
||||
Painter & pain(owner_.getPainter());
|
||||
pain.start();
|
||||
pain.line(x, y, x, y + h - 1, LColor::cursor);
|
||||
|
Loading…
Reference in New Issue
Block a user