From 430e6c77d8ac048f3947ab918f484c5dedfa7ebd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Dj=C3=A4rv?= Date: Fri, 26 Jan 2007 16:34:19 +0000 Subject: [PATCH] (xg_initialize): Call XftInit if HAVE_XFT. --- src/gtkutil.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gtkutil.c b/src/gtkutil.c index dc81f016509..fe1eb6cdfdb 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -3937,6 +3937,11 @@ xg_initialize () { GtkBindingSet *binding_set; +#if HAVE_XFT + /* Work around a bug with corrupted data if libXft gets unloaded. This way + we keep it permanently linked in. */ + XftInit (0); +#endif xg_ignore_gtk_scrollbar = 0; xg_detached_menus = 0; xg_menu_cb_list.prev = xg_menu_cb_list.next = -- 2.39.2