summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandxdgshell_p.h
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2016-08-05 10:10:58 +0200
committerJohan Helsing <johan.helsing@qt.io>2016-08-09 10:58:10 +0000
commitb3b4778c237c43cfde02c4750017c37112c315c4 (patch)
tree9e9d8e01aa485386d2dd5b8a652ec0b17ca5d3ec /src/client/qwaylandxdgshell_p.h
parent1db3dee9432f28f35ec9c971444b8a889bbdd6e2 (diff)
Make wl_shell and xdg_shell use the QWaylandShellIntegration interface
This simplifies the code in QWaylandDisplay and hopefully makes it easier to implement a prioritized shell selection mechanism later. Change-Id: I2bb3a13f8acedb60a6606cb3a8b5b228095eadf9 Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Diffstat (limited to 'src/client/qwaylandxdgshell_p.h')
-rw-r--r--src/client/qwaylandxdgshell_p.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/qwaylandxdgshell_p.h b/src/client/qwaylandxdgshell_p.h
index 3fd248fc4..cd1656415 100644
--- a/src/client/qwaylandxdgshell_p.h
+++ b/src/client/qwaylandxdgshell_p.h
@@ -61,15 +61,17 @@ namespace QtWaylandClient {
class QWaylandWindow;
class QWaylandInputDevice;
+class QWaylandXdgSurface;
class Q_WAYLAND_CLIENT_EXPORT QWaylandXdgShell : public QtWayland::xdg_shell
{
public:
QWaylandXdgShell(struct ::xdg_shell *shell);
QWaylandXdgShell(struct ::wl_registry *registry, uint32_t id);
-
virtual ~QWaylandXdgShell();
+ QWaylandXdgSurface *createXdgSurface(QWaylandWindow *window);
+
private:
void xdg_shell_ping(uint32_t serial) Q_DECL_OVERRIDE;
};