There was a consensus that this patch is the right thing to do, even
though it might not speed things up per se. I tested it and propose to
apply to trunk and branch.
OK?
JMarc
Index: src/frontends/qt2/qscreen.C
===
--- src/frontends/qt2/qscreen.C (revision 13433)
+++ src/frontends/qt2/qscreen.C (working copy)
@@ -144,7 +144,7 @@ void QScreen::showCursor(int x, int y, i
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_);
}