[mutter] wayland/surface: Fix code style issues
- From: Robert Mader <rmader src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland/surface: Fix code style issues
- Date: Mon, 3 Jan 2022 19:49:16 +0000 (UTC)
commit f51cccbc29afe3b0ccecab02322e9f4bf0e9ca7c
Author: Robert Mader <robert mader posteo de>
Date: Mon Jan 3 19:28:09 2022 +0100
wayland/surface: Fix code style issues
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2202>
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 426603e648..07d269109d 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]