summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2019-04-25 11:23:37 -0400
committerLibravatar Simon Ser <contact@emersion.fr>2019-04-25 18:44:28 +0300
commit236ca63419528da1ebfbfe7aabd24a1c3b274437 (patch)
tree88dbafbde4595ce0ce35b26b70a716154a90acd1 /include
parentRemove obsolete README translations (diff)
downloadsway-236ca63419528da1ebfbfe7aabd24a1c3b274437.tar.gz
sway-236ca63419528da1ebfbfe7aabd24a1c3b274437.tar.zst
sway-236ca63419528da1ebfbfe7aabd24a1c3b274437.zip
swaybg: split into standalone project
The new upstream is https://github.com/swaywm/swaybg This commit also refactors our use of gdk-pixbuf a bit, since the only remaining reverse dependency is swaybar tray support.
Diffstat (limited to 'include')
-rw-r--r--include/cairo.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/cairo.h b/include/cairo.h
index d1b9b8d7..c1275db2 100644
--- a/include/cairo.h
+++ b/include/cairo.h
@@ -1,13 +1,9 @@
1#ifndef _SWAY_CAIRO_H 1#ifndef _SWAY_CAIRO_H
2#define _SWAY_CAIRO_H 2#define _SWAY_CAIRO_H
3
4#include "config.h" 3#include "config.h"
5#include <stdint.h> 4#include <stdint.h>
6#include <cairo/cairo.h> 5#include <cairo/cairo.h>
7#include <wayland-client-protocol.h> 6#include <wayland-client-protocol.h>
8#if HAVE_GDK_PIXBUF
9#include <gdk-pixbuf/gdk-pixbuf.h>
10#endif
11 7
12void cairo_set_source_u32(cairo_t *cairo, uint32_t color); 8void cairo_set_source_u32(cairo_t *cairo, uint32_t color);
13cairo_subpixel_order_t to_cairo_subpixel_order(enum wl_output_subpixel subpixel); 9cairo_subpixel_order_t to_cairo_subpixel_order(enum wl_output_subpixel subpixel);
@@ -15,11 +11,4 @@ cairo_subpixel_order_t to_cairo_subpixel_order(enum wl_output_subpixel subpixel)
15cairo_surface_t *cairo_image_surface_scale(cairo_surface_t *image, 11cairo_surface_t *cairo_image_surface_scale(cairo_surface_t *image,
16 int width, int height); 12 int width, int height);
17 13
18#if HAVE_GDK_PIXBUF
19
20cairo_surface_t* gdk_cairo_image_surface_create_from_pixbuf(
21 const GdkPixbuf *gdkbuf);
22
23#endif // HAVE_GDK_PIXBUF
24
25#endif 14#endif