Re: low level X question

New Message Reply Date view Thread view Subject view Author view

george williams (gcw++at++best.com)
Wed, 04 Aug 1999 03:31:29 +0100


Oops. Forgot to post the solution once I found one.

I used the calls XGetGeometry and XtTranslateCoords. Both
calls seem to make a round trip to the XServer, so if performance
is an issue, I wouldn't recommend using em.

gw.
fakespace.com

At 09:41 AM 8/4/99 +0200, you wrote:
>george williams wrote:
>> Is there a way to query the current position and size of an arbitrary
>> X window relative to the root X window at any time, without having to
>> catch CONFIGURE_NOTIFY events for that window?
>
>Try using XGetWindowAttributes.
>
>Cheers,
>-Uli
>
>--
>Ulrich Hertlein | Please allow a couple of days
>q~bus Mediatektur GmbH | response time since I'm out
>mailto:u.hertlein++at++q-bus.de | of the office at the moment.
>
>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Aug 04 1999 - 01:37:58 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.