home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 March / PCWK3A99.iso / Linux / DDD331 / DDD-3_1_.000 / DDD-3_1_ / ddd-3.1.1 / patches / lesstif-0.84.patch < prev    next >
Encoding:
Text File  |  1998-05-27  |  1.6 KB  |  59 lines

  1. # $Id: lesstif-0.84.patch,v 1.1 1998/05/27 11:23:52 zeller Exp $
  2.  
  3. This file contains patches for lesstif-0.84.  We suggest that these
  4. patches be applied (using `patch -l < lesstif-0.84.patch') before
  5. building LessTif and running DDD with LessTif.
  6.  
  7. *** lesstif-0.84/lib/Xm/ScrolledW.c.orig    Wed May 27 10:08:20 1998
  8. --- lesstif-0.84/lib/Xm/ScrolledW.c    Wed May 27 11:15:11 1998
  9. ***************
  10. *** 53,63 ****
  11.   /* rws 25 Mar 1998
  12.      With this undefined the page list of mgv and mfm work correctly. The mfm
  13.      problem can be seen if you start it and then select a directory from the
  14.      middle list.  At this point the list on the right gets real tiny.
  15.    */
  16. ! #undef MFM_BUGS
  17.   
  18.   /* Forward Declarations */
  19.   
  20.   #if 1
  21.   static void class_initialize();
  22. --- 53,63 ----
  23.   /* rws 25 Mar 1998
  24.      With this undefined the page list of mgv and mfm work correctly. The mfm
  25.      problem can be seen if you start it and then select a directory from the
  26.      middle list.  At this point the list on the right gets real tiny.
  27.    */
  28. ! #define MFM_BUGS 1
  29.   
  30.   /* Forward Declarations */
  31.   
  32.   #if 1
  33.   static void class_initialize();
  34. ***************
  35. *** 2733,2743 ****
  36.           XmNminimum, &min, 
  37.           NULL);
  38.       val -= dy;
  39.       val = val < min ? min : val;
  40.       val = val > max ? max : val;
  41. !     XtVaSetValues((Widget)SW_VSB(scrollw_widget), XmNvalue, dy, NULL);
  42.       }
  43.   }
  44.   
  45.   void
  46.   XmScrolledWindowSetAreas(Widget widget,
  47. --- 2733,2743 ----
  48.           XmNminimum, &min, 
  49.           NULL);
  50.       val -= dy;
  51.       val = val < min ? min : val;
  52.       val = val > max ? max : val;
  53. !     XtVaSetValues((Widget)SW_VSB(scrollw_widget), XmNvalue, val, NULL);
  54.       }
  55.   }
  56.   
  57.   void
  58.   XmScrolledWindowSetAreas(Widget widget,
  59.