diff options
author | David Faure <david.faure@kdab.com> | 2014-04-01 10:10:48 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-05 12:42:20 +0200 |
commit | d7564624ac6d7b72b6dd506d35dc2bb251bf1686 (patch) | |
tree | 5999b1da24d924f30e66bfc90406c4dcf74dcb0d /src/plugins/platforms/xcb/qxcbconnection.h | |
parent | d041ae30d62a332d492c7bc0dfe353f561435ff3 (diff) |
Add function for setting the startup ID for the next window that will be shown.
This is useful for applications being requested to show a second window
(e.g. via DBus)
Change-Id: I04add2aa82dce63e854ba0f1c020274ed586bf1f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbconnection.h')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbconnection.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/xcb/qxcbconnection.h b/src/plugins/platforms/xcb/qxcbconnection.h index a994c51c7d..c5fe2e33d5 100644 --- a/src/plugins/platforms/xcb/qxcbconnection.h +++ b/src/plugins/platforms/xcb/qxcbconnection.h @@ -445,6 +445,7 @@ public: void setFocusWindow(QXcbWindow *); QByteArray startupId() const { return m_startupId; } + void setStartupId(const QByteArray &nextId) { m_startupId = nextId; } void clearStartupId() { m_startupId.clear(); } void grabServer(); |