, m_texture(0)
, m_provider(0)
, m_paintEnabled(true)
+ , m_useTextureAlpha(false)
+ , m_clientRenderingEnabled(false)
, m_touchEventsEnabled(false)
{
}
, m_texture(0)
, m_provider(0)
, m_paintEnabled(true)
+ , m_useTextureAlpha(false)
+ , m_clientRenderingEnabled(false)
, m_touchEventsEnabled(false)
{
init(surface);
m_surface = surface;
m_surface->setSurfaceItem(this);
+ m_surface->sendOnScreenVisibilityChange(m_clientRenderingEnabled);
setWidth(surface->size().width());
setHeight(surface->size().height());
}
-void ExtendedSurface::sendOnScreenVisibllity(bool visible)
+void ExtendedSurface::sendOnScreenVisibility(bool visible)
{
int32_t visibleInt = visible;
wl_resource_post_event(m_extended_surface_resource,WL_EXTENDED_SURFACE_ONSCREEN_VISIBILITY,visibleInt);
~ExtendedSurface();
void sendGenericProperty(const QString &name, const QVariant &variant);
- void sendOnScreenVisibllity(bool visible);
+ void sendOnScreenVisibility(bool visible);
void setSubSurface(ExtendedSurface *subSurface,int x, int y);
void removeSubSurface(ExtendedSurface *subSurfaces);