Don't flood expose events in the xcb plugin.
authorSamuel Rødal <samuel.rodal@nokia.com>
Thu, 22 Sep 2011 07:02:40 +0000 (09:02 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 23 Sep 2011 09:30:54 +0000 (11:30 +0200)
commit5fb67c1dacce58c034980c5c559f74ce9ec2c756
treea5de3ab3a0054f00dd4669ac59438cde0b517728
parent078d7018199eee1cb2850f077f12aa95bf328e44
Don't flood expose events in the xcb plugin.

The X server sends a series of expose events, where the count member
specifies how many expose events are remaining in the current series. By
merging them into an expose region we can send a single expose event to
the lighthouse interface.

Change-Id: If73c9972fe02c5e4137e8742aaaf5679ccea5a09
Reviewed-on: http://codereview.qt-project.org/5366
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/plugins/platforms/xcb/qxcbwindow.cpp
src/plugins/platforms/xcb/qxcbwindow.h