summaryrefslogtreecommitdiff
path: root/src/plugins/platforms/wayland/qwaylanddisplay.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2011-04-13 15:04:53 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2011-04-14 09:52:25 +0200
commit08b80d666ab4e6f06b30228ac14fd9f98716b5ed (patch)
treeff459ee4ddd43aa39eb305bd12bf972274af4806 /src/plugins/platforms/wayland/qwaylanddisplay.cpp
parent5cca700ee5ecc5b5c06851137703455fcce9c24b (diff)
downloadqt4-tools-08b80d666ab4e6f06b30228ac14fd9f98716b5ed.tar.gz
Wayland: Conform with the api change in the frame callback
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylanddisplay.cpp')
-rw-r--r--src/plugins/platforms/wayland/qwaylanddisplay.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/wayland/qwaylanddisplay.cpp b/src/plugins/platforms/wayland/qwaylanddisplay.cpp
index eb9e791544..1c56561904 100644
--- a/src/plugins/platforms/wayland/qwaylanddisplay.cpp
+++ b/src/plugins/platforms/wayland/qwaylanddisplay.cpp
@@ -163,9 +163,9 @@ void QWaylandDisplay::syncCallback(wl_display_sync_func_t func, void *data)
wl_display_sync_callback(mDisplay, func, data);
}
-void QWaylandDisplay::frameCallback(wl_display_frame_func_t func, void *data)
+void QWaylandDisplay::frameCallback(wl_display_frame_func_t func, struct wl_surface *surface, void *data)
{
- wl_display_frame_callback(mDisplay, func, data);
+ wl_display_frame_callback(mDisplay, surface, func, data);
}
void QWaylandDisplay::flushRequests()