Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!hplabs!hpda!hp-sde!hpfcdc!hpfcmr!chan From: chan@hpfcmr.HP.COM (Chan Benson) Newsgroups: comp.windows.news Subject: Re: multiple-server clients Message-ID: <1200002@hpfcmr.HP.COM> Date: 5 Jul 88 16:10:11 GMT References: <853@macondo.SW.MCC.COM> Organization: HP Fort Collins, CO Lines: 15 > Xlib handles multiple servers with the notion of a `default server'. > All C calls on Xlib are directed toward that server. The call to > connect to a server returns a handle to that server, and makes it the > default: > > display = XOpenDisplay (server_name); > > The default display can be changed: > > XSetDisplay (display); Note that this describes the way things are done in X10. In X11, Xlib calls almost universally take a display argument that indicates which server to direct the request to. -- Chan