Path: utzoo!attcan!uunet!husc6!ukma!tut.cis.ohio-state.edu!bloom-beacon!TUB.BITNET!net
From: net@TUB.BITNET (Oliver Laumann)
Newsgroups: comp.windows.x
Subject: ``after function''
Message-ID: <8807031336.AA00894@tub.UUCP>
Date: 3 Jul 88 13:36:11 GMT
Sender: daemon@bloom-beacon.MIT.EDU
Organization: The Internet
Lines: 18

The Xlib documentation does not mention how an ``after function'' that has
been defined for a display by a call to XSetAfterFunction() can be
de-registered at a later point of time.  From looking at the sources I
gather that this can be done by calling either

    XSynchronize (dpy, 0);

or

    XSetAfterFunction (dpy, (int (*)())0).

What is the preferred way?  Why is this not documented?  Or is the user
not assumed to remove an ``after function'' once it has been set?

Thanks in advance.

--
Oliver Laumann              net@TUB.BITNET              net@tub.UUCP