aboutsummaryrefslogtreecommitdiff
path: root/libi3
diff options
context:
space:
mode:
authorOrestis Floros <orestisflo@gmail.com>2020-01-25 15:59:37 +0100
committerOrestis Floros <orestisflo@gmail.com>2020-02-01 17:32:54 +0100
commite9f011397a508b4e3d75fd5fb46e06a87d84348e (patch)
treeaaae2827201b2d6cd3bc8508dc00f10cb9c94759 /libi3
parentd11e862919241bb5738f4e01ef226e0a4135eade (diff)
downloadi3-e9f011397a508b4e3d75fd5fb46e06a87d84348e.tar.gz
i3-e9f011397a508b4e3d75fd5fb46e06a87d84348e.zip
libi3: Make visual_type extern
See #3914
Diffstat (limited to 'libi3')
-rw-r--r--libi3/draw_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libi3/draw_util.c b/libi3/draw_util.c
index f88360dc..092ac967 100644
--- a/libi3/draw_util.c
+++ b/libi3/draw_util.c
@@ -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);