Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!bloom-beacon!think!ames!vsi1!daver!athsys!stergios From: stergios@athsys.uucp (Stergios Marinopoulos) Newsgroups: comp.windows.x Subject: Re: XSendEvent, how do I use it... Keywords: Status = 0, never succeeds Message-ID: <159@cyclopes.UUCP> Date: 11 Oct 88 17:06:45 GMT References: <3111@mit-amt> Reply-To: stergios%athsys.uucp@sun.com (Stergios Marinopoulos) Organization: Xpert Xports Lines: 17 Do not forget to fill in the 'format' field in the XClientMessageEvent or else none of your data will be copied by the server. Use one of 8, 16, or 32 depending on your use of char, short, or int field respectively in XClientMessageEvent union member data. I do not believe this is documented in the O'Reilly manuals, and I am not sure about the Xlib manual (read my search was not exhaustive). When I noticed the problem I started digging in the X11r2 mit sun server and found what I was doing wrong. This may not solve your particular problem but it will be necessary inorder for correct usage OF XSendEvent. Stergios Marinopoulos