[mutter] wayland: Random whitespace fixes
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] wayland: Random whitespace fixes
- Date: Wed, 12 Jul 2017 04:32:09 +0000 (UTC)
commit 538e402d71a510d63422f5322fc63b1c1ba1c189
Author: Jonas Ådahl <jadahl gmail com>
Date: Mon Jun 5 20:09:01 2017 +0800
wayland: Random whitespace fixes
https://bugzilla.gnome.org/show_bug.cgi?id=784080
src/wayland/meta-wayland.c | 27 ++++++++++++++++-----------
1 files changed, 16 insertions(+), 11 deletions(-)
---
diff --git a/src/wayland/meta-wayland.c b/src/wayland/meta-wayland.c
index 7bbd096..383c5da 100644
--- a/src/wayland/meta-wayland.c
+++ b/src/wayland/meta-wayland.c
@@ -58,7 +58,8 @@ typedef struct
} WaylandEventSource;
static gboolean
-wayland_event_source_prepare (GSource *base, int *timeout)
+wayland_event_source_prepare (GSource *base,
+ int *timeout)
{
WaylandEventSource *source = (WaylandEventSource *)base;
@@ -70,9 +71,9 @@ wayland_event_source_prepare (GSource *base, int *timeout)
}
static gboolean
-wayland_event_source_dispatch (GSource *base,
+wayland_event_source_dispatch (GSource *base,
GSourceFunc callback,
- void *data)
+ void *data)
{
WaylandEventSource *source = (WaylandEventSource *)base;
struct wl_event_loop *loop = wl_display_get_event_loop (source->display);
@@ -122,20 +123,22 @@ meta_wayland_compositor_repick (MetaWaylandCompositor *compositor)
}
static void
-wl_compositor_create_surface (struct wl_client *client,
+wl_compositor_create_surface (struct wl_client *client,
struct wl_resource *resource,
- guint32 id)
+ uint32_t id)
{
MetaWaylandCompositor *compositor = wl_resource_get_user_data (resource);
+
meta_wayland_surface_create (compositor, client, resource, id);
}
static void
-wl_compositor_create_region (struct wl_client *client,
+wl_compositor_create_region (struct wl_client *client,
struct wl_resource *resource,
- uint32_t id)
+ uint32_t id)
{
MetaWaylandCompositor *compositor = wl_resource_get_user_data (resource);
+
meta_wayland_region_create (compositor, client, resource, id);
}
@@ -146,15 +149,17 @@ static const struct wl_compositor_interface meta_wayland_wl_compositor_interface
static void
compositor_bind (struct wl_client *client,
- void *data,
- guint32 version,
- guint32 id)
+ void *data,
+ uint32_t version,
+ uint32_t id)
{
MetaWaylandCompositor *compositor = data;
struct wl_resource *resource;
resource = wl_resource_create (client, &wl_compositor_interface, version, id);
- wl_resource_set_implementation (resource, &meta_wayland_wl_compositor_interface, compositor, NULL);
+ wl_resource_set_implementation (resource,
+ &meta_wayland_wl_compositor_interface,
+ compositor, NULL);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]