diff options
author | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-06-03 11:30:23 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-06-03 11:59:15 +0200 |
commit | 1f456b4cbb93e3fea699878d117900b703146213 (patch) | |
tree | ce33b7dc746a1ef1b6a044fbcf742755c0c5744b /src/plugins/platforms/xcb/qxcbwindow.h | |
parent | 7d9fcaccb1e6e056336b9ad1f7f89afac4699aee (diff) |
Add support for mouse and keyboard grab.
Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbwindow.h')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbwindow.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbwindow.h b/src/plugins/platforms/xcb/qxcbwindow.h index 40d21f43da..57794fda07 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.h +++ b/src/plugins/platforms/xcb/qxcbwindow.h @@ -76,6 +76,9 @@ public: QPlatformGLContext *glContext() const; + bool setKeyboardGrabEnabled(bool grab); + bool setMouseGrabEnabled(bool grab); + xcb_window_t xcb_window() const { return m_window; } uint depth() const { return m_depth; } QImage::Format format() const { return m_format; } |