Listing 4

typedef struct
   {
   long    flags;  /* which fields are filled in */
   int x, y;   /* obsolete in Release 4*/
   int width, height; /* obsolete in R4 */
   int min_width, min_height;
   int max_width, max_height;
   int width_ inc, height_inc;
   struct
      {
      int x;   /* numerator */
      int y;   /* denominator */
      } min_aspect, max_aspect;
   int base_width, base_height; /* new in R4 */
   int win_gravity;   /* new in Release 4 */
   } XSizeHints;