mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2026-04-07 08:21:33 -04:00
Implement user_data for surface
Not sure if we need more than one piece of user_data per surface. And this should be a general feature of any proxy object.
This commit is contained in:
parent
59fa346ac9
commit
ecf65fe041
2 changed files with 16 additions and 0 deletions
|
|
@ -95,6 +95,9 @@ void wl_surface_copy(struct wl_surface *surface, int32_t dst_x, int32_t dst_y,
|
|||
void wl_surface_damage(struct wl_surface *surface,
|
||||
int32_t x, int32_t y, int32_t width, int32_t height);
|
||||
|
||||
void wl_surface_set_user_data(struct wl_surface *surface, void *user_data);
|
||||
void *wl_surface_get_user_data(struct wl_surface *surface);
|
||||
|
||||
struct wl_output;
|
||||
struct wl_output_listener {
|
||||
void (*geometry)(void *data,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue