mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
Add protocol for setting the pointer image
This commit is contained in:
parent
b036ad4a9a
commit
77fb167956
5 changed files with 110 additions and 82 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue