Stumpwm is a tiling, keyboard driven X11 windowmanager written entirely in Common Lisp. While itis minimalistic in appearance, its fullcustomizability, event hooks, and 100% pure Lispimplementation make it startlingly powerful.License: GNU General Public License (GPL)Changes:
Bugs were fixed in several commands and the keyhandling.
XMoveResizeWindow() XMoveResizeWindow()
Name
XMoveResizeWindow - change the size and position of a window.
Synopsis
XMoveResizeWindow(display, w, x, y, width, height)
Display *display;
Window w;
int x, y;
unsigned int width, height;
Arguments
display Specifies a connection to an X server; returned from XOpenDisplay().
w Specifies the ID of the window to be reconfigured.
x Specify the new x and y coordinates of the upper-left pixel of the window's border, relative to the window's parent.
y
width Specify the new width and height in pixels. These arguments define the interior size of the window.
height
Description
XMoveResizeWindow() moves or resizes a window or both. XMoveResizeWindow() does not raise the window. Resizing a mapped window may lose
its contents and generate an Expose event on that window depending on the bit_gravity attribute. Configuring a window may generate expo-
sure events on windows that the window formerly obscured, depending on the new size and location parameters.
If the override_redirect attribute of the window is False (see Volume One, Chapter 4, Window Attributes) and the window manager has
selected SubstructureRedirectMask on the parent, then a ConfigureRequest event is sent to the window manager, and no further processing is
performed.
If a client has selected StructureNotifyMask on the window, then a ConfigureNotify event is generated after the move and resize takes
place, and the event will contain the final position and size of the window. This is only useful in the case of top-level windows, since
the window manager may modify or prevent them being moved or resized.
Errors
BadValue
BadWindow
See Also
XCirculateSubwindows(), XCirculateSubwindowsDown(), XCirculateSubwindowsUp(), XConfigureWindow(), XLowerWindow(), XMoveWindow(), XQuery-
Tree(), XRaiseWindow(), XReparentWindow(), XResizeWindow(), XRestackWindows().
Xlib - Window Manipulation XMoveResizeWindow()