Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!yale!mintaka!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: XSelectInput - what am I doing wrong? Message-ID: <9003011831.AA21213@expo.lcs.mit.edu> Date: 1 Mar 90 18:31:40 GMT References: <900227-154552-595@Xerox> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 16 > XSelectInput(myDisplay, myWindow, newEventMask); Don't do that. Use XtAddEventHandler(). This function will select for the event, and call the routine specified whenever that event is received. Don't mix X Event handling with Xt Event handling, you will just get into trouble. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213