home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!rpi!kyriazis
- From: kyriazis@mistral.rdrc.rpi.edu (George Kyriazis)
- Newsgroups: comp.sys.sgi
- Subject: using the X event queue in a GL window
- Message-ID: <!sjy!yq@rpi.edu>
- Date: 22 Aug 92 01:35:17 GMT
- Organization: Rensselaer Design Research Center, RPI, Troy, NY
- Lines: 21
- Nntp-Posting-Host: mistral.rdrc.rpi.edu
-
- Hello...
-
- I am using X and GL at the same time. I want to have one event loop for
- both my X interface and the GL window.
-
- Is there a way to grab X events that occur on a GL window? That looks like
- the best way so far, but I can't tell how to treat the GL graphics window
- as an X entity.
-
- The very "hacky" way would be to rewrite XtMainLoop() so that it interleaves
- and dispatches events from both queues, but I really hope there is a better
- way..
-
- Thanks..
-
- --george
- --
- ----------------------------------------------------------------------------
- George Kyriazis | Rensselaer Design Research Center, CII 7015,
- kyriazis@rdrc.rpi.edu | RPI, Troy, NY 12180.
- ----------------------------------------------------------------------------
-