aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-06-20 20:00:23 +0100
committeremersion <contact@emersion.fr>2018-06-20 20:00:23 +0100
commita6c0e25d363e850eb5693c081022925b2a31a8a2 (patch)
tree4af1bef9540d03002d290be077cfd812f25b3871 /include
parentcc89906ddfe249c59cfa35babf1aeccaae3b5e26 (diff)
surface: remove wlr_frame_callback
This removes the need to allocate a structure for frame callbacks. wl_resource_get_link is used instead.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_surface.h5
1 files changed, 0 insertions, 5 deletions
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 <wayland-server.h>
#include <wlr/types/wlr_output.h>
-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