home *** CD-ROM | disk | FTP | other *** search
/ PC Shareware 1999 March / PCShareware-3-99.iso / IMPLE / DJGPP.RAR / DJGPP2 / XLIB-SR0.ZIP / SRC / XLIBEMU / CONFWIN.C < prev    next >
C/C++ Source or Header  |  1994-02-20  |  460b  |  22 lines

  1. /* $Id: confwin.c 1.1 1994/02/20 16:28:05 ulrich Exp $ */
  2. /*
  3.  * X library function XMoveResizeWindow.
  4.  */
  5. #include "Xlibemu.h"
  6.  
  7. int
  8. XMoveResizeWindow (Display *dpy, Window window, int x, int y,
  9.            unsigned int width, unsigned int height)
  10. {
  11.   XWindowChanges xwc;
  12.   unsigned long values;
  13.  
  14.   xwc.x = x;
  15.   xwc.y = y;
  16.   xwc.width = width;
  17.   xwc.height = height;
  18.   values = CWX | CWY | CWWidth | CWHeight;
  19.   return XConfigureWindow (dpy, window, values, &xwc);
  20. }
  21.  
  22.