Remove now unneeded render_data struct definition

This commit is contained in:
Silvan Jegen 2022-05-22 14:06:54 +02:00
parent fbd698479a
commit fe8280bf39

8
dwl.c
View file

@ -270,14 +270,6 @@ struct dwl_input_popup {
struct wl_listener focused_surface_unmap; struct wl_listener focused_surface_unmap;
}; };
/* Used to move all of the data necessary to render a surface from the top-level
* frame handler to the per-surface render function. */
struct render_data {
struct wlr_output *output;
struct timespec *when;
int x, y; /* layout-relative */
};
/* function declarations */ /* function declarations */
static void applybounds(Client *c, struct wlr_box *bbox); static void applybounds(Client *c, struct wlr_box *bbox);
static void applyexclusive(struct wlr_box *usable_area, uint32_t anchor, static void applyexclusive(struct wlr_box *usable_area, uint32_t anchor,