From dfec7314fd3758375e96d4641d2d6b5bec595320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lind?= Date: Fri, 7 Aug 2015 12:35:44 +0200 Subject: Remove output from QWaylandSurface It is the views that belong to outputs. This leads to a couple of interesting cases with enter and leave events, but the implementation says you will get enter events for the first view of a surface entering an output, and for the last view being removed from an output. Also to throttle a surface, there has to be 1 surface which takes care of this. This is because if multiple views throttle, then the client might render to quick. Change-Id: If4bba380fd4d7f506fd769606cbdea4ce58b908d --- src/compositor/compositor_api/qwaylandquickitem.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/compositor/compositor_api/qwaylandquickitem.h') diff --git a/src/compositor/compositor_api/qwaylandquickitem.h b/src/compositor/compositor_api/qwaylandquickitem.h index d7b32c1aa..33234cfce 100644 --- a/src/compositor/compositor_api/qwaylandquickitem.h +++ b/src/compositor/compositor_api/qwaylandquickitem.h @@ -135,6 +135,7 @@ private Q_SLOTS: void updateBuffer(bool hasBuffer); void updateWindow(); void beforeSync(); + void outputHasChanged(); Q_SIGNALS: void surfaceChanged(); -- cgit v1.2.3