Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!bloom-beacon!deccrl!news.crl.dec.com!quabbin.crl.dec.com!jg From: jg@quabbin.crl.dec.com (Jim Gettys) Newsgroups: comp.windows.x Subject: Re: Xlib event loop for 2 servers from single client ? Message-ID: <1991Jan11.032927.12703@crl.dec.com> Date: 11 Jan 91 03:29:27 GMT References: <1991Jan10.214142.1766@wrkgrp.uucp> <1991Jan10.220308.5385@crl.dec.com> <1991Jan10.191312@wsl.dec.com> Sender: news@crl.dec.com (USENET News System) Organization: DEC Cambridge Research Lab Lines: 13 In article <1991Jan10.191312@wsl.dec.com> klee@wsl.dec.com writes: >|> 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. > I stand corrected by all the young upstarts out there... :-). Shows we all have our off days... - Jim -- Digital Equipment Corporation Cambridge Research Laboratory