summaryrefslogtreecommitdiff
path: root/lwlib/xlwmenuP.h
diff options
context:
space:
mode:
Diffstat (limited to 'lwlib/xlwmenuP.h')
-rw-r--r--lwlib/xlwmenuP.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lwlib/xlwmenuP.h b/lwlib/xlwmenuP.h
index 38bce796941..9937aa174ef 100644
--- a/lwlib/xlwmenuP.h
+++ b/lwlib/xlwmenuP.h
@@ -43,7 +43,12 @@ typedef struct _window_state
typedef struct _XlwMenu_part
{
/* slots set by the resources */
+#ifdef HAVE_X_I18N
+ XFontSet font;
+ XFontSetExtents *font_extents;
+#else
XFontStruct* font;
+#endif
Pixel foreground;
Pixel disabled_foreground;
Pixel button_foreground;