summaryrefslogtreecommitdiffstats
path: root/include/cairo.h
diff options
context:
space:
mode:
authorLibravatar Issam E. Maghni <issam.e.maghni@mailbox.org>2021-05-07 16:57:51 -0400
committerLibravatar Simon Ser <contact@emersion.fr>2021-05-10 10:28:32 +0200
commitd45623c2db570b7a2e0582943734d18f3d64b126 (patch)
tree6ecb1ad308bb31c00f71213207fe2a8725217d44 /include/cairo.h
parentconfig.in: change terminal emulator to foot (diff)
downloadsway-d45623c2db570b7a2e0582943734d18f3d64b126.tar.gz
sway-d45623c2db570b7a2e0582943734d18f3d64b126.tar.zst
sway-d45623c2db570b7a2e0582943734d18f3d64b126.zip
cairo: Replace <cairo/cairo.h> by <cairo.h>
For full context, read https://gitlab.freedesktop.org/cairo/cairo/-/issues/479 TL;DR, cairo’s pc file adds `/cairo` to CFLAGS. So namespace cairo shouldn’t be used.
Diffstat (limited to 'include/cairo.h')
-rw-r--r--include/cairo.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/cairo.h b/include/cairo.h
deleted file mode 100644
index c1275db2..00000000
--- a/include/cairo.h
+++ /dev/null
@@ -1,14 +0,0 @@
1#ifndef _SWAY_CAIRO_H
2#define _SWAY_CAIRO_H
3#include "config.h"
4#include <stdint.h>
5#include <cairo/cairo.h>
6#include <wayland-client-protocol.h>
7
8void cairo_set_source_u32(cairo_t *cairo, uint32_t color);
9cairo_subpixel_order_t to_cairo_subpixel_order(enum wl_output_subpixel subpixel);
10
11cairo_surface_t *cairo_image_surface_scale(cairo_surface_t *image,
12 int width, int height);
13
14#endif