summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbwindow.h
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-09-22 09:02:40 +0200
committerQt by Nokia <qt-info@nokia.com>2011-09-23 11:30:54 +0200
commit5fb67c1dacce58c034980c5c559f74ce9ec2c756 (patch)
treea5de3ab3a0054f00dd4669ac59438cde0b517728 /src/plugins/platforms/xcb/qxcbwindow.h
parent078d7018199eee1cb2850f077f12aa95bf328e44 (diff)
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>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbwindow.h')
-rw-r--r--src/plugins/platforms/xcb/qxcbwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbwindow.h b/src/plugins/platforms/xcb/qxcbwindow.h
index e864c14f0f..e70686cba0 100644
--- a/src/plugins/platforms/xcb/qxcbwindow.h
+++ b/src/plugins/platforms/xcb/qxcbwindow.h
@@ -156,6 +156,8 @@ private:
#if defined(XCB_USE_EGL)
mutable QXcbEGLSurface *m_eglSurface;
#endif
+
+ QRegion m_exposeRegion;
};
#endif