buffer: always set buffer->{cairo,surface} for simplification

This commit is contained in:
tokyo4j 2024-11-27 14:17:28 +09:00 committed by Hiroaki Yamamoto
parent d2a864dfe7
commit c48324975d
5 changed files with 20 additions and 61 deletions

View file

@ -49,12 +49,4 @@ void draw_cairo_border(cairo_t *cairo, struct wlr_fbox fbox, double line_width);
struct lab_data_buffer;
struct surface_context {
bool is_duplicate;
cairo_surface_t *surface;
};
struct surface_context get_cairo_surface_from_lab_data_buffer(
struct lab_data_buffer *buffer);
#endif /* LABWC_GRAPHIC_HELPERS_H */