Add protocol for setting the pointer image

This commit is contained in:
Kristian Høgsberg 2010-08-16 10:38:29 -04:00
parent b036ad4a9a
commit 77fb167956
5 changed files with 110 additions and 82 deletions

View file

@ -81,6 +81,7 @@ struct wlsc_input_device {
int32_t x, y;
struct wlsc_compositor *ec;
struct wlsc_surface *sprite;
int32_t hotspot_x, hotspot_y;
struct wl_list link;
struct wlsc_surface *pointer_focus;
@ -118,6 +119,7 @@ struct wlsc_compositor {
EGLContext context;
GLuint fbo, vbo;
GLuint proj_uniform, tex_uniform;
EGLImageKHR default_pointer_image;
struct wl_display *wl_display;
/* We implement the shell interface. */