[488] in Zephyr_Comments

home help back first fref pref prev next nref lref last post

Re: window properties and zgrams

vanharen@ATHENA.MIT.EDU (vanharen@ATHENA.MIT.EDU)
Tue Nov 20 10:33:19 1990

It has nothing to do with resizing...  you may be confusing bit-gravity
with window-gravity?

To demonstrate the problem, set your zwgc borderwidth to something other
than what twm has as a borderwidth.  TWM has a default borderwidth of 2,
so set your zwgc borderwidth to 10 or something so that the problem will
be blatantly obvious...

	% xrdb -merge
	zwgc*borderWidth: 10

Now restart your zwgc (or start another one, so that you can observe the
correct and broken behavior at the same time), and send yourself a zgram
that will be placed with some negative geometry aspect.  (My personals
come up in -0-0, but any corner or any negative x or y will do.)

Observe broken-ness.

I don't know what function was used to parse the geometries for zgrams,
but there is an X function that will parse the geometry for you and give
you the correct window-gravity...

home help back first fref pref prev next nref lref last post