discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPasteboard on X, what to do?


From: Dan Pascu
Subject: Re: NSPasteboard on X, what to do?
Date: Fri, 11 Jan 2002 05:40:38 +0200 (EET)

On  9 Jan, Pascal Bourguignon wrote:
> <super-pedantic> I don't see that:
> 
> Section "ServerLayout"
>       Identifier     "Layout[all]"
>       Screen      0  "Screen[0]" 0 0
>       Screen      1  "Screen[1]" RightOf "Screen[0]"
>       InputDevice    "Keyboard[0]" "CoreKeyboard"
>       InputDevice    "Mouse[1]" "CorePointer"
>       Option         "Clone" "off"
>       Option         "Xinerama" "off"
> EndSection
> 
> So I would  say that mouse, keyboard and screens  are connected to the
> X-server, not to the display. Moreover, note that:

To be not confused consider a display (X way) to be the same with a
running instance of the X server. So DISPLAY=localhost:0 is a running
instance of the X server. that may manage multiple CRTs (screens), a
kbd and a mouse (it may even be able to manage multiple kbd/mice dunno
for sure).

> 
> Section "Screen"
>       Identifier "Screen[0]"
>       Device     "Device[0]"
>       Monitor    "Monitor[0]"
>       DefaultDepth     24
>       SubSection "Display"
>               Depth     15
>               Modes    "1152x870" "1024x768" "800x600" "640x480"
>       EndSubSection
>       SubSection "Display"
>               Depth     16
>               Modes    "1152x870" "1024x768" "800x600" "640x480"
>       EndSubSection
>       SubSection "Display"
>               Depth     24
>               Modes    "1280x1024" "1152x870" "1024x768" "800x600" "640x480"
>       EndSubSection
>       SubSection "Display"
>               Depth     32
>               Modes    "1152x870" "1024x768" "800x600" "640x480"
>       EndSubSection
>       SubSection "Display"
>               Depth     8
>               Modes    "1152x870" "1024x768" "800x600" "640x480"
>       EndSubSection
> EndSection
> 
> So a 'X-screen', may have  several displays, not only one.  Well, with

Nope. They are just definitions of visuals. when the X server starts
selects one from this list, and will use that. By default will select
what DefaultDepth says (24bpp in this case), but you can select another
with command line options. the SubSection "Display" is misleading in
this case. What it wants to say is that the X server (==DISPLAY) will
use that depth and mode(s) when running (one or possible more of them,
but they are all on the same DISPLAY==X server).

again, read display (the X way) as X server. that would make thinks
clear.


-- 
Dan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]