diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-05-19 10:51:34 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-05-19 10:53:30 +0200 |
commit | ea7277690d9f4a7c4e10f3d3b7a2bef46d6878c2 (patch) | |
tree | 620b3d1acc7f8d5855f84248635d9a43f5e57476 /src/plugins/platforms/xcb/qxcbwindow.h | |
parent | e0e696dd05fbe329044879cf560fe26330edf7bd (diff) |
Better setWindowFlags() support in XCB window.
We need to re-create the native window in setParent, as used to be done
in QWidgetPrivate::setParent_sys in qwidget_x11.cpp.
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbwindow.h')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbwindow.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qxcbwindow.h b/src/plugins/platforms/xcb/qxcbwindow.h index 9996188714..a6ca3de565 100644 --- a/src/plugins/platforms/xcb/qxcbwindow.h +++ b/src/plugins/platforms/xcb/qxcbwindow.h @@ -94,15 +94,20 @@ public: void updateSyncRequestCounter(); private: - void setNetWmWindowTypes(Qt::WindowFlags flags); void changeNetWmState(bool set, xcb_atom_t one, xcb_atom_t two = 0); QVector<xcb_atom_t> getNetWmState(); void setNetWmState(const QVector<xcb_atom_t> &atoms); void printNetWmState(const QVector<xcb_atom_t> &state); + void setNetWmWindowFlags(Qt::WindowFlags flags); + void setMotifWindowFlags(Qt::WindowFlags flags); + void updateMotifWmHintsBeforeMap(); void updateNetWmStateBeforeMap(); + void create(); + void destroy(); + void show(); void hide(); |