wayland: Random whitespace fixes
https://bugzilla.gnome.org/show_bug.cgi?id=784080
This commit is contained in:
parent
9af6ec78ab
commit
538e402d71
1 changed files with 16 additions and 11 deletions
|
@ -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;
|
||||
|
||||
|
@ -124,9 +125,10 @@ meta_wayland_compositor_repick (MetaWaylandCompositor *compositor)
|
|||
static void
|
||||
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);
|
||||
}
|
||||
|
||||
|
@ -136,6 +138,7 @@ wl_compositor_create_region (struct wl_client *client,
|
|||
uint32_t id)
|
||||
{
|
||||
MetaWaylandCompositor *compositor = wl_resource_get_user_data (resource);
|
||||
|
||||
meta_wayland_region_create (compositor, client, resource, id);
|
||||
}
|
||||
|
||||
|
@ -147,14 +150,16 @@ 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)
|
||||
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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue