diff options
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylandwindow.cpp')
-rw-r--r-- | src/plugins/platforms/wayland/qwaylandwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandwindow.cpp b/src/plugins/platforms/wayland/qwaylandwindow.cpp index 7e94fb9..6f52291 100644 --- a/src/plugins/platforms/wayland/qwaylandwindow.cpp +++ b/src/plugins/platforms/wayland/qwaylandwindow.cpp @@ -125,7 +125,7 @@ void QWaylandWindow::damage(const QRegion ®ion) { //We have to do sync stuff before calling damage, or we might //get a frame callback before we get the timestamp - mDisplay->frameCallback(QWaylandWindow::frameCallback, this); + mDisplay->frameCallback(QWaylandWindow::frameCallback, mSurface, this); mWaitingForFrameSync = true; QVector<QRect> rects = region.rects(); @@ -143,7 +143,7 @@ void QWaylandWindow::newSurfaceCreated() } } -void QWaylandWindow::frameCallback(void *data, uint32_t time) +void QWaylandWindow::frameCallback(struct wl_surface *surface, void *data, uint32_t time) { Q_UNUSED(time); QWaylandWindow *self = static_cast<QWaylandWindow*>(data); |