Newsgroups: comp.windows.x Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cunixf.cc.columbia.edu!cunixa.cc.columbia.edu!das15 From: das15@cunixa.cc.columbia.edu (Douglas A Scott) Subject: Forcing an EnterNotify event Message-ID: <1991Apr30.141951.15453@cunixf.cc.columbia.edu> Sender: usenet@cunixf.cc.columbia.edu (The Network News) Nntp-Posting-Host: cunixa.cc.columbia.edu Reply-To: das15@cunixa.cc.columbia.edu (Douglas A Scott) Organization: Columbia University Distribution: usa Date: Tue, 30 Apr 1991 14:19:51 GMT How can a force a newly mapped window to receive an EnterNotify event? I need to do this so that my program can tell which of a possible large number of windows is the currently "selected" one. I have tried mapping it, flushing all the events (to be sure it is actually visible) and then doing an XWarpPointer() into the window, but it is not generating the event I need. If this *should* be doing it, it is possible that it is this X server on my NeXT that is the problem, but I wanted to be sure there was a standard way to generate such an event. Thanks! <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Douglas Scott Columbia University Computer Music Studio Internet: UUCP: ...!columbia!woof!zardoz!doug Phone: (703)765-4771