diff options
author | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2014-03-25 14:49:25 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-29 10:46:48 +0200 |
commit | 96ab8abe0b0faea7f63f0477025fe0649e410362 (patch) | |
tree | 9c868346e0e27155b72ed9cc4bd7992c1d9fdddf /src/compositor/compositor_api/qwaylandsurfaceitem.h | |
parent | fc439e40e37f9c0b3108225f951fb19bb3abee80 (diff) |
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 <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'src/compositor/compositor_api/qwaylandsurfaceitem.h')
-rw-r--r-- | src/compositor/compositor_api/qwaylandsurfaceitem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/compositor_api/qwaylandsurfaceitem.h b/src/compositor/compositor_api/qwaylandsurfaceitem.h index f1da27995..1e6363305 100644 --- a/src/compositor/compositor_api/qwaylandsurfaceitem.h +++ b/src/compositor/compositor_api/qwaylandsurfaceitem.h @@ -108,7 +108,7 @@ private slots: void updateSize(); void updateSurfaceSize(); void updatePosition(); - void updateBuffer(); + void updateBuffer(bool hasBuffer); signals: void touchEventsEnabledChanged(); |