Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!elroy.jpl.nasa.gov!decwrl!pa.dec.com!wsl.dec.com!klee From: klee@wsl.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: Xlib event loop for 2 servers from single client ? Message-ID: <1991Jan10.191312@wsl.dec.com> Date: 11 Jan 91 03:13:12 GMT References: <1991Jan10.214142.1766@wrkgrp.uucp> <1991Jan10.220308.5385@crl.dec.com> Sender: news@pa.dec.com (News) Reply-To: klee@wsl.dec.com Organization: DEC Western Software Laboratory Lines: 10 |> The way you do what you want is get the file descriptor "fileno(dpy)", The X macro ConnectionNumber does the right thing here. Note that the application contexts in the X Toolkit also manage multiple displays. -- Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@wsl.dec.com uucp: uunet!decwrl!klee