--- xless-1.7.orig/main.c	2022-02-12 20:10:24.150641527 -0400
+++ xless-1.7/main.c	2022-02-12 20:09:08.314646493 -0400
@@ -30,6 +30,7 @@
 #include <X11/StringDefs.h>
 #include <X11/Intrinsic.h>
 #include <X11/Shell.h>
+#include <X11/Xaw3dxft/Xaw3dXft.h>
 
 #include <X11/Xmu/Xmu.h>
 
@@ -205,6 +206,24 @@
 int argc;
 char *argv[];
 {
+Xaw3dXftData *xaw3dxft_data=NULL;
+Xaw3dXftProc *xaw3dxft_proc=NULL;
+
+GET_XAW3DXFT_DATA(xaw3dxft_data);
+
+if(xaw3dxft_data)
+{
+xaw3dxft_data->border_hack=0;
+xaw3dxft_data->text_fg_alternate_color=1;
+xaw3dxft_data->encoding=-1;
+xaw3dxft_data->menu_spacing=3;
+xaw3dxft_data->string_use_pixmap=0;
+xaw3dxft_data->button_dashed=0;
+xaw3dxft_data->show_tips=1;
+}
+else
+return(1);
+
   int i, attempted;
 
 #ifdef _DEBUG_MALLOC_INC
