diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/wayland/test_cursor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/wayland/test_cursor.c b/tests/wayland/test_cursor.c index e43bff4..f7a7ba7 100644 --- a/tests/wayland/test_cursor.c +++ b/tests/wayland/test_cursor.c @@ -55,6 +55,7 @@ int main(void) struct wayland_surface surface = {.base.display = &display.base, .conn = &display, .scale_factor = 1, .cursor = YASL_CURSOR_TEXT}; surface.surface = (struct wl_surface *)&surface; + wl_surface_set_user_data(surface.surface, &surface); display.surfaces = &surface; struct seat seat = {.conn = &display}; seat.pointer = (struct wl_pointer *)&seat; |
