summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbwindow.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-09-20 18:09:08 +0200
committerQt by Nokia <qt-info@nokia.com>2011-09-21 12:07:19 +0200
commit0d4918950e61f3cbfd01c9fae37c463352c69dd3 (patch)
treec402cc38cf374231b6a9f783522b6b565290b8d3 /src/plugins/platforms/xcb/qxcbwindow.h
parente915b7924f251f849b2b5480d2945981a93108f6 (diff)
Add Qt::WindowTransparentForMouseEvents
Add a flag for output only windows that are transparent for mouse events and implement it for the xcb backend. Change-Id: I24afdb6b27de34bcdf0c061a5a4987ac2880e4ae Reviewed-on: http://codereview.qt-project.org/5260 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbwindow.h')
-rw-r--r--src/plugins/platforms/xcb/qxcbwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbwindow.h b/src/plugins/platforms/xcb/qxcbwindow.h
index a85760ea8d..e864c14f0f 100644
--- a/src/plugins/platforms/xcb/qxcbwindow.h
+++ b/src/plugins/platforms/xcb/qxcbwindow.h
@@ -124,6 +124,8 @@ private:
void updateMotifWmHintsBeforeMap();
void updateNetWmStateBeforeMap();
+ void setTransparentForMouseEvents(bool transparent);
+
void create();
void destroy();
@@ -143,6 +145,7 @@ private:
Qt::WindowState m_windowState;
bool m_mapped;
+ bool m_transparent;
xcb_window_t m_netWmUserTimeWindow;
QSurfaceFormat m_requestedFormat;