summaryrefslogtreecommitdiffstats
path: root/src/compositor/compositor_api/qwaylandsurfaceitem.h
diff options
context:
space:
mode:
authorGiulio Camuffo <giulio.camuffo@jollamobile.com>2014-02-10 13:29:49 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-11 14:25:00 +0100
commit666f597ccd2ced23ecc71ba497981d1a88c34d77 (patch)
treeed8e1e89840688d78c3017de90a899d773b99144 /src/compositor/compositor_api/qwaylandsurfaceitem.h
parent8643053f8f5255fb8e21911c9e7287e675f4b4ed (diff)
Remove the buffer queue.
A client calling attach(A);commit();attach(B);commit() should result in its back buffer be set to B, and A be discarded. If the client wants to have a queue it should keep it client side or a protocol extension tailored for that purpose should be developed. Change-Id: Ia0048f311504d85821df9f5b9225887801efec71 Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Diffstat (limited to 'src/compositor/compositor_api/qwaylandsurfaceitem.h')
-rw-r--r--src/compositor/compositor_api/qwaylandsurfaceitem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor/compositor_api/qwaylandsurfaceitem.h b/src/compositor/compositor_api/qwaylandsurfaceitem.h
index 26288a7df..b17b892fa 100644
--- a/src/compositor/compositor_api/qwaylandsurfaceitem.h
+++ b/src/compositor/compositor_api/qwaylandsurfaceitem.h
@@ -112,7 +112,7 @@ private slots:
void surfaceMapped();
void surfaceUnmapped();
void surfaceDestroyed(QObject *object);
- void surfaceDamaged(const QRect &);
+ void surfaceDamaged(const QRegion &);
void parentChanged(QWaylandSurface *newParent, QWaylandSurface *oldParent);
void updateSize();
void updateSurfaceSize();