Make sure to clip in QXcbBackingStore::flush()
authorSamuel Rødal <samuel.rodal@nokia.com>
Mon, 19 Sep 2011 11:42:20 +0000 (13:42 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 19 Sep 2011 14:37:51 +0000 (16:37 +0200)
commit003060e2928209b8028fa176b6c8b19777f1617b
tree2ddb0ec1bd9a386ab383003c7ad54d83e624e901
parent9a096d9eb078f83b1e6f934ebaf863145f067fbc
Make sure to clip in QXcbBackingStore::flush()

Clip to image and window dimensions to prevent X errors.

Change-Id: I7fa581217444e00d6eb83ac356c600f86ae03636
Reviewed-on: http://codereview.qt-project.org/5140
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Holger Ihrig <holger.ihrig@nokia.com>
src/plugins/platforms/xcb/qxcbbackingstore.cpp