Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!think!garyo
From: garyo@Think.COM (Gary Oberbrunner)
Newsgroups: comp.windows.x
Subject: Re: Why is resouce manager property only set on Screen 0 ?
Message-ID: 
Date: 26 Sep 89 03:07:14 GMT
References: <8909240402.AA19863@mandala.think.com> <8909251727.AA02493@expo.lcs.mit.edu>
Sender: news@Think.COM
Organization: Thinking Machines Corporation, Cambridge MA, USA
Lines: 52
In-reply-to: jim@EXPO.LCS.MIT.EDU's message of 25 Sep 89 17:27:34 GMT


       Someone asks (and I have the same question):
       Currently, xrdb only sets the XA_RESOURCE_MANAGER property on screen
       0 of the display.  Is there any way to handle this correctly in the
       current X ?  Are changes planned for the future ?

   Jim Fulton replies:
   Not immediately.  The problem is that you really need some of way of
   classifying resources by visual since the "right" way (in our humble opinion
   :-) to manage displays that have mono and color planes (or pseudocolor and
   true color) is to have all of the visuals on one screen instead of two
   virtual screens.

Well that's all well and good, but right now the MIT sample server uses two
screens.  And believe it or not it's a fine way to get work done.  It's a
lot like having a huge 2Kx1K screen.  Yes, I know this has all been debated
before.  But:

(a) I kind of like the two screens.

(b) I have to live with them since I'm running MIT's very own supposedly
blessed sample server.  I need SOMETHING until you guys come out with the
magical solution you're envisioning.  I mean, I've got work to do.

(c) When you open a display you can set the default *screen*, but not the
default *visual*.  This seems to me to be a strong indication that the
resource defaults should be organized along the same lines.  Or perhaps we
should invent a new way to specify default visuals as part of the display
name?? :-) :-) The relevant code is in XOpenDisplay, which takes a display
name and a screen number (as name:number, natch).  How hard would it be to
make it look at the screen number rather than assuming 0 when it loads its
resources?  Jeez, it looks easy to me.  Shall I post diffs? :-)

					As always,

					Gary O

-----------------------------------------------------------------------------
Remember,		      Truth is not beauty;	    Gary  Oberbrunner
Information is not knowledge; Beauty is not love;  {ames,harvard}!think!garyo
Knowledge is not wisdom;      Love is not music;	      garyo@think.com
Wisdom is not truth;	      Music is the best. - FZ	  (617) 876-1111 x265
--
					As always,

					Gary O

-----------------------------------------------------------------------------
Remember,		      Truth is not beauty;	    Gary  Oberbrunner
Information is not knowledge; Beauty is not love;  {ames,harvard}!think!garyo
Knowledge is not wisdom;      Love is not music;	      garyo@think.com
Wisdom is not truth;	      Music is the best. - FZ	  (617) 876-1111 x265