mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 08:15:40 +02:00
cairo: drop all remaining references to cairo
We now use pixman (and freetype + fontconfig) exclusively.
This commit is contained in:
parent
01e71590e0
commit
4ce314e328
5 changed files with 8 additions and 14 deletions
|
@ -1,8 +1,7 @@
|
|||
bar_backends = []
|
||||
|
||||
if backend_x11
|
||||
bar_x11 = declare_dependency(
|
||||
sources: ['xcb.c', 'xcb.h'], dependencies: [xcb_stuff, cairo, cairo_ft])
|
||||
bar_x11 = declare_dependency(sources: ['xcb.c', 'xcb.h'], dependencies: [xcb_stuff])
|
||||
bar_backends += [bar_x11]
|
||||
endif
|
||||
|
||||
|
@ -37,7 +36,7 @@ if backend_wayland
|
|||
|
||||
bar_wayland = declare_dependency(
|
||||
sources: ['wayland.c', 'wayland.h'] + wl_proto_src + wl_proto_headers,
|
||||
dependencies: [wayland_client, wayland_cursor, cairo, cairo_ft])
|
||||
dependencies: [wayland_client, wayland_cursor])
|
||||
|
||||
bar_backends += [bar_wayland]
|
||||
endif
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include <sys/mman.h>
|
||||
#include <linux/memfd.h>
|
||||
|
||||
//#include <cairo.h>
|
||||
#include <pixman.h>
|
||||
#include <wayland-client.h>
|
||||
#include <wayland-cursor.h>
|
||||
|
@ -697,7 +696,7 @@ setup(struct bar *_bar)
|
|||
//wl_surface_commit(backend->surface);
|
||||
//wl_display_roundtrip(backend->display);
|
||||
|
||||
/* Prepare a buffer + cairo context for bar to draw to */
|
||||
/* Prepare a buffer + pixman image for bar to draw to */
|
||||
backend->next_buffer = get_buffer(backend);
|
||||
assert(backend->next_buffer != NULL && backend->next_buffer->busy);
|
||||
bar->pix = backend->next_buffer->pix;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue