mirror of
https://github.com/labwc/labwc.git
synced 2026-02-20 01:40:22 -05:00
buffer: always set buffer->{cairo,surface} for simplification
This commit is contained in:
parent
d2a864dfe7
commit
c48324975d
5 changed files with 20 additions and 61 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue