[comp.windows.x] How do you set a R3 server property from R4?

bill@polygen.uucp (Bill Poitras) (10/18/90)

I am developing a product under X11R4.  In my applications, I am going to be
setting the WM_PROTOCOLS property so that when a window manager goes to kill a
window, it will give the client a chance to ask the user to save document 
changes, and other interesting things.  This is done by setting the
WM_DELETE_WINDOW in the WM_PROTOCOLS property.  In X11R3, a similar thing is
done by setting XA_BANG in the messages field in the WM_HINTS property.  
This no longer exists in R4.  What I will do when I am running my R4 clients 
on a R? server is ask the server for its verion and revision number, and if 
its R3, set the proper hint and if its R4 set WM_DELETE_WINDOW.  The problem 
is, how do I do set the messsages field of the WM_HINTS from a R4 client?  
There doesn't seem to be any mechanism is the R4 Xlib.  Any help on this would 
greatly be appreciated.
+-----------------+---------------------------+-----------------------------+
| Bill Poitras    | Polygen Corporation       | {princeton mit-eddie        |
|     (bill)      | Waltham, MA USA           |  bu sunne}!polygen!bill     |
|                 |                           | bill@polygen.com            |
+-----------------+---------------------------+-----------------------------+