wayland: Random whitespace fixes
https://bugzilla.gnome.org/show_bug.cgi?id=784080
This commit is contained in:
parent
9af6ec78ab
commit
538e402d71
@ -58,7 +58,8 @@ typedef struct
|
|||||||
} WaylandEventSource;
|
} WaylandEventSource;
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
wayland_event_source_prepare (GSource *base, int *timeout)
|
wayland_event_source_prepare (GSource *base,
|
||||||
|
int *timeout)
|
||||||
{
|
{
|
||||||
WaylandEventSource *source = (WaylandEventSource *)base;
|
WaylandEventSource *source = (WaylandEventSource *)base;
|
||||||
|
|
||||||
@ -124,9 +125,10 @@ meta_wayland_compositor_repick (MetaWaylandCompositor *compositor)
|
|||||||
static void
|
static void
|
||||||
wl_compositor_create_surface (struct wl_client *client,
|
wl_compositor_create_surface (struct wl_client *client,
|
||||||
struct wl_resource *resource,
|
struct wl_resource *resource,
|
||||||
guint32 id)
|
uint32_t id)
|
||||||
{
|
{
|
||||||
MetaWaylandCompositor *compositor = wl_resource_get_user_data (resource);
|
MetaWaylandCompositor *compositor = wl_resource_get_user_data (resource);
|
||||||
|
|
||||||
meta_wayland_surface_create (compositor, client, resource, id);
|
meta_wayland_surface_create (compositor, client, resource, id);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -136,6 +138,7 @@ wl_compositor_create_region (struct wl_client *client,
|
|||||||
uint32_t id)
|
uint32_t id)
|
||||||
{
|
{
|
||||||
MetaWaylandCompositor *compositor = wl_resource_get_user_data (resource);
|
MetaWaylandCompositor *compositor = wl_resource_get_user_data (resource);
|
||||||
|
|
||||||
meta_wayland_region_create (compositor, client, resource, id);
|
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
|
static void
|
||||||
compositor_bind (struct wl_client *client,
|
compositor_bind (struct wl_client *client,
|
||||||
void *data,
|
void *data,
|
||||||
guint32 version,
|
uint32_t version,
|
||||||
guint32 id)
|
uint32_t id)
|
||||||
{
|
{
|
||||||
MetaWaylandCompositor *compositor = data;
|
MetaWaylandCompositor *compositor = data;
|
||||||
struct wl_resource *resource;
|
struct wl_resource *resource;
|
||||||
|
|
||||||
resource = wl_resource_create (client, &wl_compositor_interface, version, id);
|
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 New Issue
Block a user