🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #37864

Re: Possible R4 problems

#37864
From: Bob Scheifler
Date: Thu, 08 Mar 1990 14:07
15 lines
1122 bytes
    The program, as listed in the book, uses -1L (XtAllEvents) for an event mask
    going into XSendEvent, and I believe that I read somewhere that R4 doesn't
    like this,

That is correct.  The mask must only indicate legal event bits, and -1
includes illegal bits.  The fact that Intrinsic.h has XtAllEvents defined
as -1 is probably a big mistake.

    so what else should I use???

I haven't actually tried it, and I've only spent a few seconds looking
at the example in the (non-Motif) book, but try just plain zero.  This
will cause the event to go to the owner of the remote_talker_window,
rather than following some arbitrary event mask.
Technical Details
Message-ID: <9003081407.AA05157@expire.lcs.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!EXPO.LCS.MIT.EDU!rws
References: <1596@sas.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!EXPO.LCS.MIT.EDU!rws
From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler)
Newsgroups: comp.windows.x
Subject: Re: Possible R4 problems
Message-ID: <9003081407.AA05157@expire.lcs.mit.edu>
Date: 8 Mar 90 14:07:07 GMT
References: <1596@sas.UUCP>
Sender: daemon@athena.mit.edu (Mr Background)
Organization: The Internet
Lines: 15