diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-05-13 11:51:41 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-05-13 15:13:15 +0200 |
commit | 850b602c7a72635eb37a998089ee085d5d505c34 (patch) | |
tree | 7cce231c1293888e98b9c661f9960ecd8d4999a2 /src/plugins/platforms/xcb/qxcbwindow.h | |
parent | 6697f2a899fac47a65122a85691b2cfe63c6152c (diff) |
Initial QPlatformWindow window state setting API and xcb implementation.
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 3ed58b33d3..831c25bdfb 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.h +++ b/src/plugins/platforms/xcb/qxcbwindow.h @@ -62,6 +62,7 @@ public: void setVisible(bool visible); Qt::WindowFlags setWindowFlags(Qt::WindowFlags flags); + Qt::WindowState setWindowState(Qt::WindowState state); WId winId() const; void setParent(const QPlatformWindow *window); @@ -93,6 +94,7 @@ public: private: void setNetWmWindowTypes(Qt::WindowFlags flags); + void changeNetWmState(bool set, xcb_atom_t one, xcb_atom_t two = 0); QXcbScreen *m_screen; @@ -103,6 +105,7 @@ private: xcb_sync_counter_t m_syncCounter; bool m_hasReceivedSyncRequest; + Qt::WindowState m_windowState; }; #endif |