sharon? what is your source for documentation ?

New Message Reply Date view Thread view Subject view Author view

Dirk Luesebrink (crux++at++artcom.de)
Tue, 23 Sep 1997 08:16:40 -0400


like in your last posting about x atoms. where do you look up thinks
like that ? i always have a hard time finding any concise x related docu
and i commit that i more and more move away from using preprogrammend
toolkits for doing the job because they fit my needs less and less.

thank you for digging in the X mess for all of us.

dirk.

>>> below is quote:

We will then regester the proper X atoms on the window.
Then, you need to recognize the X atoms and process the resulting
X event.

In init of X handlign process:
        wm_protocols = XInternAtom(dsp, "WM_PROTOCOLS", 1);
        wm_delete_window = XInternAtom(dsp, "WM_DELETE_WINDOW", 1);

In X process event loop:
        case ClientMessage:
            if ((event.xclient.message_type == wm_protocols) &&
                (event.xclient.data.l[0] == wm_delete_window))
            {
                pfNotify(PFNFY_NOTICE,PFNFY_PRINT,"Window exit !!");
                pfExit();
            }
            break;
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:58 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.