mirror of
https://github.com/cage-kiosk/cage.git
synced 2025-10-29 05:40:19 -04:00
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:
parent
48b31afb5a
commit
e6f89ed6f1
2 changed files with 19 additions and 48 deletions
3
output.h
3
output.h
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue