Remove output_for_each_surface

It's used only by send_frame_done. Instead of keeping a generic
iterator, let's inline it in the only user.
This commit is contained in:
Simon Ser 2021-09-22 12:41:45 +02:00 committed by Jente Hidskes
parent 48b31afb5a
commit e6f89ed6f1
2 changed files with 19 additions and 48 deletions

View file

@ -21,9 +21,6 @@ struct cg_output {
struct wl_list link; // cg_server::outputs
};
typedef void (*cg_surface_iterator_func_t)(struct cg_output *output, struct wlr_surface *surface, struct wlr_box *box,
void *user_data);
void handle_new_output(struct wl_listener *listener, void *data);
void output_set_window_title(struct cg_output *output, const char *title);