diff options
author | Issam E. Maghni <issam.e.maghni@mailbox.org> | 2021-05-07 16:57:51 -0400 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-05-10 10:28:32 +0200 |
commit | d45623c2db570b7a2e0582943734d18f3d64b126 (patch) | |
tree | 6ecb1ad308bb31c00f71213207fe2a8725217d44 /sway | |
parent | config.in: change terminal emulator to foot (diff) | |
download | sway-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 'sway')
-rw-r--r-- | sway/config.c | 2 | ||||
-rw-r--r-- | sway/tree/container.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sway/config.c b/sway/config.c index 76b9ec08..39013865 100644 --- a/sway/config.c +++ b/sway/config.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include "sway/tree/arrange.h" | 26 | #include "sway/tree/arrange.h" |
27 | #include "sway/tree/root.h" | 27 | #include "sway/tree/root.h" |
28 | #include "sway/tree/workspace.h" | 28 | #include "sway/tree/workspace.h" |
29 | #include "cairo.h" | 29 | #include "cairo_util.h" |
30 | #include "pango.h" | 30 | #include "pango.h" |
31 | #include "stringop.h" | 31 | #include "stringop.h" |
32 | #include "list.h" | 32 | #include "list.h" |
diff --git a/sway/tree/container.c b/sway/tree/container.c index bec17d95..b928d069 100644 --- a/sway/tree/container.c +++ b/sway/tree/container.c | |||
@@ -7,7 +7,7 @@ | |||
7 | #include <strings.h> | 7 | #include <strings.h> |
8 | #include <wayland-server-core.h> | 8 | #include <wayland-server-core.h> |
9 | #include <wlr/types/wlr_output_layout.h> | 9 | #include <wlr/types/wlr_output_layout.h> |
10 | #include "cairo.h" | 10 | #include "cairo_util.h" |
11 | #include "pango.h" | 11 | #include "pango.h" |
12 | #include "sway/config.h" | 12 | #include "sway/config.h" |
13 | #include "sway/desktop.h" | 13 | #include "sway/desktop.h" |