diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2011-12-12 10:22:54 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.p.agocs@nokia.com> | 2011-12-12 12:31:13 +0100 |
commit | a338f940cd444bf5bee891f3470a08ef2bc3d019 (patch) | |
tree | 73506893716588414fe8fdf061b25b4f5dd4f2bf /src/plugins/platforms/wayland/qwaylandwindow.h | |
parent | ee1ba9e63ce105427d72276e0ebe3ef63384b5f5 (diff) |
Implement shell_surface
shell_surface is the compositors view of surfaces while wl_surface is
the clients view of the surface
Change-Id: Ic84eda94ac03960ab566cfc569a103c2b6ad1d44
Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylandwindow.h')
-rw-r--r-- | src/plugins/platforms/wayland/qwaylandwindow.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandwindow.h b/src/plugins/platforms/wayland/qwaylandwindow.h index 20d0beb27..1419f1744 100644 --- a/src/plugins/platforms/wayland/qwaylandwindow.h +++ b/src/plugins/platforms/wayland/qwaylandwindow.h @@ -49,6 +49,7 @@ class QWaylandDisplay; class QWaylandBuffer; +class QWaylandShellSurface; struct wl_egl_window; class QWaylandWindow : public QPlatformWindow @@ -77,8 +78,10 @@ public: struct wl_surface *wl_surface() const { return mSurface; } + QWaylandShellSurface *shellSurface() const; protected: struct wl_surface *mSurface; + QWaylandShellSurface *mShellSurface; virtual void newSurfaceCreated(); QWaylandDisplay *mDisplay; QWaylandBuffer *mBuffer; @@ -91,7 +94,6 @@ private: static const wl_callback_listener callbackListener; static void frameCallback(void *data, struct wl_callback *wl_callback, uint32_t time); - }; |