diff options
author | Jeremy Katz <jeremy.katz@nokia.com> | 2009-10-19 11:54:43 (GMT) |
---|---|---|
committer | Jeremy Katz <jeremy.katz@nokia.com> | 2009-10-19 12:14:16 (GMT) |
commit | 950dc68999454fa3873a6b5c5a695529d02a57c4 (patch) | |
tree | c62cc3d8f699245448d6cf210583df66317acf77 /src/plugins/graphicssystems | |
parent | 4a77f349127eca7e5c46ba1eafba20ebb8736ebb (diff) | |
download | Qt-950dc68999454fa3873a6b5c5a695529d02a57c4.zip Qt-950dc68999454fa3873a6b5c5a695529d02a57c4.tar.gz Qt-950dc68999454fa3873a6b5c5a695529d02a57c4.tar.bz2 |
consolidate repainting of multiple QRects for the VNC display
Schedule repainting of the VNC display backing store to allow
multiple regions to be repainted in a single go. Requests are
scheduled using a 0 timer.
Diffstat (limited to 'src/plugins/graphicssystems')
-rw-r--r-- | src/plugins/graphicssystems/vnc/qgraphicssystem_vnc.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/graphicssystems/vnc/qgraphicssystem_vnc.cpp b/src/plugins/graphicssystems/vnc/qgraphicssystem_vnc.cpp index 6fe174c..95e6641 100644 --- a/src/plugins/graphicssystems/vnc/qgraphicssystem_vnc.cpp +++ b/src/plugins/graphicssystems/vnc/qgraphicssystem_vnc.cpp @@ -126,9 +126,8 @@ void QVNCGraphicsSystemScreen::doRedraw() continue; compositePainter.drawImage(intersect, windowStack[i]->image(), windowIntersect); - d_ptr->setDirty(rect); } - + d_ptr->setDirty(rect); } repaintRegion = QRegion(); |