Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!mcvax!tuvie!inst182 From: inst182@tuvie (Inst.f.Techn.Informatik) Newsgroups: comp.windows.x Subject: Strange behavior of XGetWindowAttributes Keywords: windowclass Message-ID: <723@tuvie> Date: 31 Jul 89 16:56:13 GMT Reply-To: ralph@vmars.at Organization: TU Vienna EDP-Center, Vienna, AUSTRIA Lines: 21 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