wayland/surface: Fix code style issues

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2202>
This commit is contained in:
Robert Mader 2022-01-03 19:28:09 +01:00
parent e90ab531bb
commit f51cccbc29

View File

@ -1020,7 +1020,8 @@ static void
wl_surface_attach (struct wl_client *client, wl_surface_attach (struct wl_client *client,
struct wl_resource *surface_resource, struct wl_resource *surface_resource,
struct wl_resource *buffer_resource, struct wl_resource *buffer_resource,
gint32 dx, gint32 dy) int32_t dx,
int32_t dy)
{ {
MetaWaylandSurface *surface = MetaWaylandSurface *surface =
wl_resource_get_user_data (surface_resource); wl_resource_get_user_data (surface_resource);
@ -1094,7 +1095,7 @@ destroy_frame_callback (struct wl_resource *callback_resource)
static void static void
wl_surface_frame (struct wl_client *client, wl_surface_frame (struct wl_client *client,
struct wl_resource *surface_resource, struct wl_resource *surface_resource,
guint32 callback_id) uint32_t callback_id)
{ {
MetaWaylandFrameCallback *callback; MetaWaylandFrameCallback *callback;
MetaWaylandSurface *surface = wl_resource_get_user_data (surface_resource); MetaWaylandSurface *surface = wl_resource_get_user_data (surface_resource);