[comp.windows.x] Strange behavior of XGetWindowAttributes

inst182@tuvie (Inst.f.Techn.Informatik) (07/31/89)

When creating a InputOnly window one has to specify the parameter
`class' of type unsigned int. When retrieving the value using
XGetWindowAttributes the type of the structure member `class' is 
int (NOT unsigned int). 

Under normal circumstances this does not cause problems.
But when executing a program compiled and running on a microVAX 2000
but displaying on a DECStation 3100 the return
value for `class' when doing a XGetWindowAttributes on a InputOnly 
window is 65534. 

If someone has experienced this problem please send e-mail,
as we are NOT regular readers of this group.
We will summarize responses to this group.

Thanks in advance.

Gusti

ralph@vmars.at
vmars!ralph@uunet.UU.NET