summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/qwaylandwindow.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-12-19 10:51:12 +0100
committerLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-12-20 13:58:55 +0100
commit317d72460806e86cacdb46ebe9c0b034b06a1cf4 (patch)
treef2aea2381a46c30276acaf67f358f5969f26f52c /src/plugins/platforms/wayland/qwaylandwindow.h
parenta318254dfb7c15ed92d38c5d5cf94d9de893dfb4 (diff)
Added surface_extension and output_extension
This is an atempt on removing WindowManagerIntegration and create more specialised extensions. Hopefully it will reduce tha "map lookups" we have all because of the windowmanagerintegration is way to generic, and hopefully it will make it easier to ready and understand the code Change-Id: I126c430e87909e4520f6d241c0a6023214cb509a 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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandwindow.h b/src/plugins/platforms/wayland/qwaylandwindow.h
index 1419f1744..8ce8161ea 100644
--- a/src/plugins/platforms/wayland/qwaylandwindow.h
+++ b/src/plugins/platforms/wayland/qwaylandwindow.h
@@ -50,6 +50,7 @@
class QWaylandDisplay;
class QWaylandBuffer;
class QWaylandShellSurface;
+class QWaylandExtendedSurface;
struct wl_egl_window;
class QWaylandWindow : public QPlatformWindow
@@ -79,9 +80,13 @@ public:
struct wl_surface *wl_surface() const { return mSurface; }
QWaylandShellSurface *shellSurface() const;
+ QWaylandExtendedSurface *extendedWindow() const;
+
protected:
struct wl_surface *mSurface;
QWaylandShellSurface *mShellSurface;
+ QWaylandExtendedSurface *mExtendedWindow;
+
virtual void newSurfaceCreated();
QWaylandDisplay *mDisplay;
QWaylandBuffer *mBuffer;