From f51cccbc29afe3b0ccecab02322e9f4bf0e9ca7c Mon Sep 17 00:00:00 2001 From: Robert Mader Date: Mon, 3 Jan 2022 19:28:09 +0100 Subject: [PATCH] wayland/surface: Fix code style issues Part-of: --- src/wayland/meta-wayland-surface.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c index 426603e64..07d269109 100644 --- a/src/wayland/meta-wayland-surface.c +++ b/src/wayland/meta-wayland-surface.c @@ -1017,10 +1017,11 @@ wl_surface_destroy (struct wl_client *client, } static void -wl_surface_attach (struct wl_client *client, +wl_surface_attach (struct wl_client *client, struct wl_resource *surface_resource, struct wl_resource *buffer_resource, - gint32 dx, gint32 dy) + int32_t dx, + int32_t dy) { MetaWaylandSurface *surface = wl_resource_get_user_data (surface_resource); @@ -1092,9 +1093,9 @@ destroy_frame_callback (struct wl_resource *callback_resource) } static void -wl_surface_frame (struct wl_client *client, +wl_surface_frame (struct wl_client *client, struct wl_resource *surface_resource, - guint32 callback_id) + uint32_t callback_id) { MetaWaylandFrameCallback *callback; MetaWaylandSurface *surface = wl_resource_get_user_data (surface_resource); @@ -1117,7 +1118,7 @@ wl_surface_frame (struct wl_client *client, } static void -wl_surface_set_opaque_region (struct wl_client *client, +wl_surface_set_opaque_region (struct wl_client *client, struct wl_resource *surface_resource, struct wl_resource *region_resource) { @@ -1139,7 +1140,7 @@ wl_surface_set_opaque_region (struct wl_client *client, } static void -wl_surface_set_input_region (struct wl_client *client, +wl_surface_set_input_region (struct wl_client *client, struct wl_resource *surface_resource, struct wl_resource *region_resource) { @@ -1161,7 +1162,7 @@ wl_surface_set_input_region (struct wl_client *client, } static void -wl_surface_commit (struct wl_client *client, +wl_surface_commit (struct wl_client *client, struct wl_resource *resource) { MetaWaylandSurface *surface = wl_resource_get_user_data (resource);