libi3: Make visual_type extern

See #3914
This commit is contained in:
Orestis Floros
2020-01-25 15:59:37 +01:00
parent d11e862919
commit e9f011397a
4 changed files with 8 additions and 5 deletions

View File

@ -16,7 +16,7 @@
#include <cairo/cairo-xcb.h>
/* The default visual_type to use if none is specified when creating the surface. Must be defined globally. */
xcb_visualtype_t *visual_type;
extern xcb_visualtype_t *visual_type;
/* Forward declarations */
static void draw_util_set_source_color(surface_t *surface, color_t color);