Path: utzoo!attcan!uunet!cs.utexas.edu!usc!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: XUngrabPointer isn't Message-ID: <8908252000.AA05788@expire.lcs.mit.edu> Date: 25 Aug 89 20:00:51 GMT References: <2270001@hp-ptp.HP.COM> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 9 returnval = XUngrabPointer(display,CurrentTime); Look at the documentation again, XUngrabPointer doesn't return a value. Also, as your program is written, the XUngrabPointer won't be executed because it's an asynchronous request, which gets buffered internally by Xlib, and your program never causes the buffer output to be flushed. Both of these errors are among the tops in "common mistakes" people make when programming to Xlib.