Static Gravity

Glynn Clements glynn at gclements.plus.com
Mon Jul 30 20:14:10 PDT 2007


Patrick M. Rutkowski wrote:

> I'm new to Xlib and I'm very confused about what StaticGravity is
> supposed to do. I wrote a test program using it but I can't seem to
> notice its effects. Then again, I don't really know what I'm supposed
> to be looking for. It's a bit gravity who's description talks about
> window resizing and fixed origin, what could that possibly mean?

StaticGravity means that the window contents remain fixed with respect
to the root window, rather than to any combination of the window's
edges.

Bit gravity isn't a particularly important topic; most applications
just redraw the entire window whenever it's resized.

-- 
Glynn Clements <glynn at gclements.plus.com>



More information about the xorg mailing list