wayland: Fix naming scheme for request handlers
Our implementations should take the name of the request.
This commit is contained in:
parent
75b6e917ad
commit
dadbd793be
@ -197,7 +197,7 @@ meta_wayland_compositor_repick (MetaWaylandCompositor *compositor)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
meta_wayland_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)
|
guint32 id)
|
||||||
{
|
{
|
||||||
@ -207,14 +207,14 @@ meta_wayland_compositor_create_surface (struct wl_client *client,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
meta_wayland_region_destroy (struct wl_client *client,
|
wl_region_destroy (struct wl_client *client,
|
||||||
struct wl_resource *resource)
|
struct wl_resource *resource)
|
||||||
{
|
{
|
||||||
wl_resource_destroy (resource);
|
wl_resource_destroy (resource);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
meta_wayland_region_add (struct wl_client *client,
|
wl_region_add (struct wl_client *client,
|
||||||
struct wl_resource *resource,
|
struct wl_resource *resource,
|
||||||
gint32 x,
|
gint32 x,
|
||||||
gint32 y,
|
gint32 y,
|
||||||
@ -228,7 +228,7 @@ meta_wayland_region_add (struct wl_client *client,
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
meta_wayland_region_subtract (struct wl_client *client,
|
wl_region_subtract (struct wl_client *client,
|
||||||
struct wl_resource *resource,
|
struct wl_resource *resource,
|
||||||
gint32 x,
|
gint32 x,
|
||||||
gint32 y,
|
gint32 y,
|
||||||
@ -242,9 +242,9 @@ meta_wayland_region_subtract (struct wl_client *client,
|
|||||||
}
|
}
|
||||||
|
|
||||||
const struct wl_region_interface meta_wayland_region_interface = {
|
const struct wl_region_interface meta_wayland_region_interface = {
|
||||||
meta_wayland_region_destroy,
|
wl_region_destroy,
|
||||||
meta_wayland_region_add,
|
wl_region_add,
|
||||||
meta_wayland_region_subtract
|
wl_region_subtract
|
||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -257,7 +257,7 @@ meta_wayland_region_resource_destroy_cb (struct wl_resource *resource)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
meta_wayland_compositor_create_region (struct wl_client *client,
|
wl_compositor_create_region (struct wl_client *client,
|
||||||
struct wl_resource *compositor_resource,
|
struct wl_resource *compositor_resource,
|
||||||
uint32_t id)
|
uint32_t id)
|
||||||
{
|
{
|
||||||
@ -270,8 +270,8 @@ meta_wayland_compositor_create_region (struct wl_client *client,
|
|||||||
}
|
}
|
||||||
|
|
||||||
const static struct wl_compositor_interface meta_wayland_compositor_interface = {
|
const static struct wl_compositor_interface meta_wayland_compositor_interface = {
|
||||||
meta_wayland_compositor_create_surface,
|
wl_compositor_create_surface,
|
||||||
meta_wayland_compositor_create_region
|
wl_compositor_create_region
|
||||||
};
|
};
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user