From 96ab8abe0b0faea7f63f0477025fe0649e410362 Mon Sep 17 00:00:00 2001 From: Giulio Camuffo Date: Tue, 25 Mar 2014 14:49:25 +0200 Subject: Let the ShellSurface send the mapped and unmapped signals. A surface without any attached shell surface should never be mapped, so make the latter set the mapped state on the surface. Change-Id: If09bd9eebecd6e0a52f862cb866d85aec403c3a0 Reviewed-by: Gunnar Sletta --- src/compositor/compositor_api/qwaylandquicksurface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compositor/compositor_api/qwaylandquicksurface.cpp') diff --git a/src/compositor/compositor_api/qwaylandquicksurface.cpp b/src/compositor/compositor_api/qwaylandquicksurface.cpp index e4a5f7732..1ce229d21 100644 --- a/src/compositor/compositor_api/qwaylandquicksurface.cpp +++ b/src/compositor/compositor_api/qwaylandquicksurface.cpp @@ -196,7 +196,7 @@ void QWaylandQuickSurface::setUseTextureAlpha(bool useTextureAlpha) if (d->useTextureAlpha != useTextureAlpha) { d->useTextureAlpha = useTextureAlpha; emit useTextureAlphaChanged(); - emit configure(); + emit configure(d->buffer->bufferRef); } } -- cgit v1.2.3