Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!ucbvax!bloom-beacon!WHEATIES.AI.MIT.EDU!sundar From: sundar@WHEATIES.AI.MIT.EDU (Sundar Narasimhan) Newsgroups: comp.windows.x Subject: Expose, EnterNotify events Message-ID: <8901191941.AA11748@special-k.ai.mit.edu> Date: 19 Jan 89 19:41:24 GMT References: <8901191816.AA02016@DORA.MIT.EDU> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 32 Date: Thu, 19 Jan 89 13:16:43 EST From: Chris D. Peterson > Hi: I have a ttyWidget that expects to draw the cursor when it > receives an EnterNotify event (sort of like emacs). Use FocusIn event, instead. Chris D. Peterson MIT X Consortium / Project Athena Net: kit@athena.mit.edu Phone: (617) 253 - 1326 USMail: MIT - Room E40-321 77 Massachusetts Ave. Cambridge, MA 02139 This doesn't work. I should have mentioned that I have something like static char default_translations[] = ": tty_callback() \n\ : tty_highlight() \n\ : tty_unhighlight()"; for doing this.. If I change the translations to be and , the two routines never seem to get invoked.. -Sundar