On Wed, 14 Sep 2005, Alexander Pohoyda wrote:
On Tue, 13 Sep 2005, Marc Aurele La France wrote:
On Tue, 13 Sep 2005, Alexander Pohoyda wrote:
Don't you think it makes sense to move (some of) those macroes from
Xm/XmP.h to X11/IntrinsicP.h file?  They seem to belong there.

Given that what you actually mean is Xt/IntrinsicP.h, I'd tend to
agree with you.  Especially given that, in out source tree, only
Xaw references these anyway.

... even though Xm/XmP.h is a Motif thing (i.e. not distributed with
any XFree86 or X.Org server, per se).

You're right.  I should have checked first.
'
So, should I not use those macroes in libXaw at all, or should I bring
them to Xt headers files like this:

#ifndef XtWidth
#define XtWidth(w)       (((Widget)(w))->core.width)
#endif
...

Which solution do you prefer?

My preference is definitely "b", i.e. your second choice. Mind you I've no idea how this would affect the various Xm/XmP.h's out there.

Marc.

+----------------------------------+-----------------------------------+
|  Marc Aurele La France           |  work:   1-780-492-9310           |
|  Academic Information and        |  fax:    1-780-492-1729           |
|    Communications Technologies   |  email:  [EMAIL PROTECTED]          |
|  352 General Services Building   +-----------------------------------+
|  University of Alberta           |                                   |
|  Edmonton, Alberta               |     Standard disclaimers apply    |
|  T6G 2H1                         |                                   |
|  CANADA                          |                                   |
+----------------------------------+-----------------------------------+
XFree86 developer and VP.  ATI driver and X server internals.
_______________________________________________
Devel mailing list
Devel@XFree86.Org
http://XFree86.Org/mailman/listinfo/devel

Reply via email to