🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37567

Re: XSelectInput - what am I doing wrong?

#37567
From: Chris D. Peterson
Date: Thu, 01 Mar 1990 18:31
16 lines
878 bytes
> 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
Technical Details
Message-ID: <9003011831.AA21213@expo.lcs.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!yale!mintaka!bloom-beacon!EXPO.LCS.MIT.EDU!kit
References: <900227-154552-595@Xerox>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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