Xref: utzoo comp.windows.x.motif:934 comp.windows.x:28316 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!oliveb!amdahl!JUTS!duts!gjf00 From: gjf00@duts.ccc.amdahl.com (Gordon Freedman) Newsgroups: comp.windows.x.motif,comp.windows.x Subject: Question about XtAddInput Summary: Don't get input events without other X events present, why? Message-ID: Date: 10 Oct 90 18:20:52 GMT Sender: netnews@ccc.amdahl.com Reply-To: gjf00@DUTS.ccc.amdahl.com (Gordon Freedman) Organization: Amdahl Corporation, Sunnyvale CA Lines: 32 I am running Motif (from Quest windows) with X11-R4.0 on a Solbourne 4-500 (essentially a Sparc system) running Sunos. I'm having a problem with XtAddInput. I'm using XtAddInput as described in "X Toolkit Intrinsics Programming Manual (Volume 4)" (O'Reilly and Assoc) section 8.3 (File, Pipe, and Socket Input). The problem I am having is that my input handler does not get called unless other ("normal") X events are also available. A footnote on page 224 says this behavior is a bug in R3, but is *not* a bug in R4. I am compiling with a make file using the following: CC=cc CFLAGS=-I/usr/include/Xm -I../include -g LIBS=-lXm -lXtm -lX11 My LD_LIBRARY_PATH is set to: LD_LIBRARY_PATH = "/usr/bin/motif/lib/X11/lib4:/usr/bin/motif/lib/X11/lib:/usr/b in/motif/lib/X11/lib3" (/usr/bin/motif/ is the root of all the Motif stuff, /usr/include/Xm is a link to /usr/bin/motif/include/X11/motif/Xm). Other than the problem I am seeing everything works as advertised with XtAddInput. If anybody has any ideas as to how to fix this or what the problem might be, please email me at gjf00@duts.ccc.amdahl.com Thanks in advance, -- Gordon Freedman: gjf00@duts.ccc.amdahl.com Disclaimer: My opinions! Not my employers!