Use different cursor images in the compositor

This commit is contained in:
Kristian Høgsberg 2010-08-16 16:08:12 -04:00
parent 77fb167956
commit 1db21f1cf5
5 changed files with 223 additions and 103 deletions

View file

@ -61,10 +61,12 @@ struct wl_display {
struct wl_global {
struct wl_object *object;
wl_client_connect_func_t func;
wl_client_connect_func_t func;
struct wl_list link;
};
WL_EXPORT struct wl_surface wl_grab_surface;
WL_EXPORT void
wl_client_post_event(struct wl_client *client, struct wl_object *sender,
uint32_t opcode, ...)
@ -361,6 +363,9 @@ wl_surface_post_event(struct wl_surface *surface,
{
va_list ap;
if (surface == &wl_grab_surface)
return;
va_start(ap, event);
wl_connection_vmarshal(surface->client->connection,
sender, event, ap,