From a6c0e25d363e850eb5693c081022925b2a31a8a2 Mon Sep 17 00:00:00 2001 From: emersion Date: Wed, 20 Jun 2018 20:00:23 +0100 Subject: surface: remove wlr_frame_callback This removes the need to allocate a structure for frame callbacks. wl_resource_get_link is used instead. --- include/wlr/types/wlr_surface.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include') diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h index 8517934a..4f4f9ff4 100644 --- a/include/wlr/types/wlr_surface.h +++ b/include/wlr/types/wlr_surface.h @@ -8,11 +8,6 @@ #include #include -struct wlr_frame_callback { - struct wl_resource *resource; - struct wl_list link; -}; - #define WLR_SURFACE_INVALID_BUFFER 1 #define WLR_SURFACE_INVALID_SURFACE_DAMAGE 2 #define WLR_SURFACE_INVALID_BUFFER_DAMAGE 4 -- cgit v1.2.3