summaryrefslogtreecommitdiffstats
path: root/src/compositor/wayland_wrapper/qwlsurface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/compositor/wayland_wrapper/qwlsurface.cpp')
-rw-r--r--src/compositor/wayland_wrapper/qwlsurface.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/compositor/wayland_wrapper/qwlsurface.cpp b/src/compositor/wayland_wrapper/qwlsurface.cpp
index 375a0f054..498d9f23a 100644
--- a/src/compositor/wayland_wrapper/qwlsurface.cpp
+++ b/src/compositor/wayland_wrapper/qwlsurface.cpp
@@ -119,8 +119,6 @@ Surface::Surface(struct wl_client *client, uint32_t id, int version, QWaylandCom
, m_primaryOutput(0)
, m_buffer(0)
, m_surfaceMapped(false)
- , m_shellSurface(0)
- , m_extendedSurface(0)
, m_subSurface(0)
, m_inputPanelSurface(0)
, m_inputRegion(infiniteRegion())
@@ -233,30 +231,6 @@ QPoint Surface::lastMousePos() const
return m_lastLocalMousePos;
}
-void Surface::setShellSurface(ShellSurface *shellSurface)
-{
- m_shellSurface = shellSurface;
- if (m_shellSurface)
- emit m_waylandSurface->shellViewCreated();
-}
-
-ShellSurface *Surface::shellSurface() const
-{
- return m_shellSurface;
-}
-
-void Surface::setExtendedSurface(ExtendedSurface *extendedSurface)
-{
- m_extendedSurface = extendedSurface;
- if (m_extendedSurface)
- emit m_waylandSurface->extendedSurfaceReady();
-}
-
-ExtendedSurface *Surface::extendedSurface() const
-{
- return m_extendedSurface;
-}
-
void Surface::setSubSurface(SubSurface *subSurface)
{
m_subSurface = subSurface;
@@ -394,11 +368,6 @@ void Surface::notifyViewsAboutDestruction()
void Surface::surface_destroy_resource(Resource *)
{
- if (m_extendedSurface) {
- m_extendedSurface->setParentSurface(Q_NULLPTR);
- m_extendedSurface = 0;
- }
-
notifyViewsAboutDestruction();
m_destroyed = true;