summaryrefslogtreecommitdiff
path: root/examples/qwindow-compositor/qwindowcompositor.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 /examples/qwindow-compositor/qwindowcompositor.h
parent8643053f8f5255fb8e21911c9e7287e675f4b4ed (diff)
downloadqtwayland-666f597ccd2ced23ecc71ba497981d1a88c34d77.tar.gz
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 'examples/qwindow-compositor/qwindowcompositor.h')
-rw-r--r--examples/qwindow-compositor/qwindowcompositor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/qwindow-compositor/qwindowcompositor.h b/examples/qwindow-compositor/qwindowcompositor.h
index c58c0d57..f8d354c3 100644
--- a/examples/qwindow-compositor/qwindowcompositor.h
+++ b/examples/qwindow-compositor/qwindowcompositor.h
@@ -61,12 +61,12 @@ private slots:
void surfaceDestroyed(QObject *object);
void surfaceMapped();
void surfaceUnmapped();
- void surfaceDamaged(const QRect &rect);
+ void surfaceDamaged(const QRegion &rect);
void surfacePosChanged();
void render();
protected:
- void surfaceDamaged(QWaylandSurface *surface, const QRect &rect);
+ void surfaceDamaged(QWaylandSurface *surface, const QRegion &rect);
void surfaceCreated(QWaylandSurface *surface);
QWaylandSurface* surfaceAt(const QPointF &point, QPointF *local = 0);