Re: XForms: hide and show form

Steve Lamont (
Mon, 11 Aug 97 10:55:26 PDT

To subscribers of the xforms list from (Steve Lamont) :

> I want to hide and then (later) show a form, at the very
> same place.
> [...]
> Each time, the form reappears shifted by one pel toward the
> right and one pel toward the bottom from where it was before
> (i.e. it slowly drifts...).

It's probably not allowing for the Window's border or some border
which the window mamager has added. I believe I posted a hack to
solve this problem. It involves using the Xlib call XQueryTree() to
find out the geometry of the parent Window to the form. You can
adjust your geometry knowing this information.

> Is that a bug ?

Could be.

To unsubscribe, send the message "unsubscribe" to or see
Xforms Home Page:
List Archive: