Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sdd.hp.com!ucsd!ucbvax!bloom-beacon!dont-send-mail-to-path-lines From: gildea@expo.lcs.mit.EDU (Stephen Gildea) Newsgroups: comp.windows.x Subject: Re: How to create a valid event to send? Message-ID: <9101222205.AA23700@excalibur.lcs.mit.edu> Date: 22 Jan 91 22:05:46 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 14 Read Chapter 8, Events and Event-Handling Functions, in the book "X Window System." XVisibilityEvent != XClientMessageEvent. You can send either type with XSendEvent, but not at the same time :-) Do not use typedef to define Xlib-related structs. Include instead. See the protocol section of "X Window System" for a complete explanation of what fields must be initialized and how. < Stephen MIT X Consortium