gildea@expo.lcs.mit.EDU (Stephen Gildea) (01/23/91)
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 <X11/Xlib.h> 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