summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui_xmebw.c4
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gui_xmebw.c b/src/gui_xmebw.c
index 670e0c02..8ae3d40c 100644
--- a/src/gui_xmebw.c
+++ b/src/gui_xmebw.c
@@ -47,13 +47,13 @@
#include "gui_xmebwp.h"
/* Provide some missing wrappers, which are missed from the LessTif
- * implementation.
+ * implementation. Also missing in Motif 1.2 and earlier.
*
* We neither use XmeGetPixmapData or _XmGetPixmapData, since with LessTif the
* pixmap will not appear in it's caches properly. We cache the interresting
* values in XmEnhancedButtonPart instead ourself.
*/
-#ifdef LESSTIF_VERSION
+#if defined(LESSTIF_VERSION) || (XmVersion <= 1002)
# ifndef Lab_IsMenupane
# define Lab_IsMenupane(w) (Lab_MenuType(w) == (int)XmMENU_POPUP || \
Lab_MenuType(w) == (int)XmMENU_PULLDOWN)
diff --git a/src/version.c b/src/version.c
index 195e7c07..b3074a62 100644
--- a/src/version.c
+++ b/src/version.c
@@ -667,6 +667,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 17,
+/**/
16,
/**/
15,