Path: utzoo!attcan!uunet!husc6!bloom-beacon!ZERMATT.LCS.MIT.EDU!RWS From: RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) Newsgroups: comp.windows.x Subject: ``after function'' Message-ID: <19880705124826.7.RWS@KILLINGTON.LCS.MIT.EDU> Date: 5 Jul 88 12:48:00 GMT References: <8807031336.AA00894@tub.UUCP> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 18 Date: Sun, 3 Jul 88 15:36:11 +0200 From: Oliver LaumannXSynchronize (dpy, 0); or XSetAfterFunction (dpy, (int (*)())0). What is the preferred way? Either way is fine. Note that both of these functions return the previous after-function, so another way to undo is to save the previous value and then store it back with XSetAfterFunction. Why is this not documented? Because no one noticed that it wasn't documented until now. Thank you for pointing it out.