diff --git a/src/wayland/surface_interface.cpp b/src/wayland/surface_interface.cpp index 0e8936c56c..5102271429 100644 --- a/src/wayland/surface_interface.cpp +++ b/src/wayland/surface_interface.cpp @@ -273,7 +273,7 @@ const struct wl_surface_interface SurfaceInterface::Private::s_interface = { resourceDestroyedCallback, attachCallback, damageCallback, - frameCallaback, + frameCallback, opaqueRegionCallback, inputRegionCallback, commitCallback, @@ -605,7 +605,7 @@ void SurfaceInterface::Private::damageCallback(wl_client *client, wl_resource *r cast(resource)->damage(QRect(x, y, width, height)); } -void SurfaceInterface::Private::frameCallaback(wl_client *client, wl_resource *resource, uint32_t callback) +void SurfaceInterface::Private::frameCallback(wl_client *client, wl_resource *resource, uint32_t callback) { auto s = cast(resource); Q_ASSERT(client == *s->client); diff --git a/src/wayland/surface_interface_p.h b/src/wayland/surface_interface_p.h index 974fe3b0f8..f8c6c28325 100644 --- a/src/wayland/surface_interface_p.h +++ b/src/wayland/surface_interface_p.h @@ -123,7 +123,7 @@ private: static void attachCallback(wl_client *client, wl_resource *resource, wl_resource *buffer, int32_t sx, int32_t sy); static void damageCallback(wl_client *client, wl_resource *resource, int32_t x, int32_t y, int32_t width, int32_t height); - static void frameCallaback(wl_client *client, wl_resource *resource, uint32_t callback); + static void frameCallback(wl_client *client, wl_resource *resource, uint32_t callback); static void opaqueRegionCallback(wl_client *client, wl_resource *resource, wl_resource *region); static void inputRegionCallback(wl_client *client, wl_resource *resource, wl_resource *region); static void commitCallback(wl_client *client, wl_resource *resource);