Changeset View
Changeset View
Standalone View
Standalone View
src/server/subcompositor_interface.h
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Line(s) | 62 | public: | |||
---|---|---|---|---|---|
80 | * @see mode | 80 | * @see mode | ||
81 | * @since 5.7 | 81 | * @since 5.7 | ||
82 | **/ | 82 | **/ | ||
83 | bool isSynchronized() const; | 83 | bool isSynchronized() const; | ||
84 | 84 | | |||
85 | QPointer<SurfaceInterface> surface(); | 85 | QPointer<SurfaceInterface> surface(); | ||
86 | QPointer<SurfaceInterface> parentSurface(); | 86 | QPointer<SurfaceInterface> parentSurface(); | ||
87 | 87 | | |||
88 | /** | ||||
89 | * @returns the main surface for the sub-surface tree, that is the first surface without a parent | ||||
90 | * @since 5.7 | ||||
91 | **/ | ||||
92 | QPointer<SurfaceInterface> mainSurface() const; | ||||
93 | | ||||
88 | Q_SIGNALS: | 94 | Q_SIGNALS: | ||
89 | void positionChanged(const QPoint&); | 95 | void positionChanged(const QPoint&); | ||
90 | void modeChanged(KWayland::Server::SubSurfaceInterface::Mode); | 96 | void modeChanged(KWayland::Server::SubSurfaceInterface::Mode); | ||
91 | 97 | | |||
92 | private: | 98 | private: | ||
93 | friend class SubCompositorInterface; | 99 | friend class SubCompositorInterface; | ||
94 | friend class SurfaceInterface; | 100 | friend class SurfaceInterface; | ||
95 | explicit SubSurfaceInterface(SubCompositorInterface *parent, wl_resource *parentResource); | 101 | explicit SubSurfaceInterface(SubCompositorInterface *parent, wl_resource *parentResource); | ||
Show All 11 Lines |