1: #include <X/mit-copyright.h>
   2: 
   3: /* $Header: XGetResHint.c,v 10.4 86/02/01 15:35:16 tony Rel $ */
   4: /* Copyright    Massachusetts Institute of Technology    1985	*/
   5: 
   6: #include "XlibInternal.h"
   7: Status XGetResizeHint (w, width0, height0, widthinc, heightinc)
   8:     Window w;
   9:     int *width0, *widthinc, *height0, *heightinc;
  10: {
  11:     register Display *dpy;
  12:     register XReq *req;
  13:     XRep rep;
  14: 
  15:     GetReq(X_GetResizeHint, w);
  16:     if (!_XReply(dpy, &rep))
  17:         return (0);
  18:     *height0 = rep.param.s[0];
  19:     *heightinc = rep.param.s[1];
  20:     *width0 = rep.param.s[2];
  21:     *widthinc = rep.param.s[3];
  22:     return (1);
  23: }
Last modified: 1986-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 822
Valid CSS Valid XHTML 1.0 Strict