mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
surface: remove wlr_frame_callback
This removes the need to allocate a structure for frame callbacks. wl_resource_get_link is used instead.
This commit is contained in:
parent
cc89906ddf
commit
a6c0e25d36
2 changed files with 15 additions and 35 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue