do not draw text with cairo directly on xlib pixmap (workaround for intel graphics bug, see emacs implementation)

This commit is contained in:
Chris Lee
2019-02-23 20:06:06 +01:00
parent 00f0bbd354
commit e1211a929f
3 changed files with 20 additions and 2 deletions

View File

@@ -154,6 +154,8 @@ void get_image_mean_color(const Imlib_Image image, Color *mean_color);
void dump_image_data(const char *file_name, const char *name);
void draw_cairo_surface_to_xpixmap(cairo_surface_t *cs, Pixmap pix);
#define free_and_null(p) \
{ \
free(p); \