summaryrefslogtreecommitdiff
path: root/FL/x.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/x.H')
-rw-r--r--FL/x.H5
1 files changed, 3 insertions, 2 deletions
diff --git a/FL/x.H b/FL/x.H
index 37194bc2b..1c23ee520 100644
--- a/FL/x.H
+++ b/FL/x.H
@@ -50,7 +50,7 @@
# endif
# include <X11/Xatom.h>
# include "Fl_Window.H"
-
+# include "Xutf8.h"
// Mirror X definition of Region to Fl_Region, for portability...
typedef Region Fl_Region;
@@ -68,7 +68,8 @@ extern FL_EXPORT Colormap fl_colormap;
// drawing functions:
extern FL_EXPORT GC fl_gc;
extern FL_EXPORT Window fl_window;
-extern FL_EXPORT XFontStruct* fl_xfont;
+//extern FL_EXPORT XFontStruct* fl_xfont;
+extern FL_EXPORT XUtf8FontStruct* fl_xfont;
extern FL_EXPORT void *fl_xftfont;
FL_EXPORT ulong fl_xpixel(Fl_Color i);
FL_EXPORT ulong fl_xpixel(uchar r, uchar g, uchar b);