aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--generic/WidgetInfo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/generic/WidgetInfo.h b/generic/WidgetInfo.h
index e5f7752..06c855a 100644
--- a/generic/WidgetInfo.h
+++ b/generic/WidgetInfo.h
@@ -143,6 +143,10 @@ typedef struct _WidgetInfo {
/* Maps global resources */
ZnFont map_text_font; /* Font for texts in Map items */
+#ifdef GLX
+ ZnTexFontInfo map_font_tfi; /* Used to preserve the default font from
+ * being freed again and again */
+#endif
ZnImage map_distance_symbol;
/* display distance marks along Map */
/* lines. */
@@ -162,6 +166,10 @@ typedef struct _WidgetInfo {
int pick_aperture; /* size of pick aperture in pixels */
ZnFont font; /* Default font used in new items */
+#ifdef GLX
+ ZnTexFontInfo font_tfi; /* Used to preserve the default font from
+ * being freed again and again */
+#endif
ZnBool reshape; /* Use the Shape Extension on the window.*/
ZnBool full_reshape; /* Use it on the top level window. */
ZnImage tile;