Re: Figuring out the terms used in the documentation

2020-06-10 Thread Sleep
Thank you very much, Adam. I have made a slightly messy diagram including some of what you and Alan have posted, I have yet to explore in depth the parts related to Events so I could not extend that part yet. I am sharing mostly in the hopes that it can be useful to instruct other beginners to

Re: Figuring out the terms used in the documentation

2020-06-09 Thread Adam Jackson
On Sat, 2020-06-06 at 08:18 -0300, Sleep wrote: > Thank you very much Adam, I have written a small diagram as an > exercise, > I would appreciate if someone could tell me if this is correct: > > Display -> is --> +---+ > | | Server and | > V

Re: Figuring out the terms used in the documentation

2020-06-07 Thread Sleep
    what is 8 bit color depth visual's format? If it's a PseudoColor visual, which is the most common type for 8-bit, then it's an index of an entry in the Colormap. This was my biggest difficulty yet it was under my nose this whole time, thank you very much, Alan.

Re: Figuring out the terms used in the documentation

2020-06-07 Thread Alan Coopersmith
On 6/6/20 4:18 AM, Sleep wrote: ** Pixel format for 24 bit color depth visual is 0xRRGGBB, While that's common, it's not the only one, and you have to check the bitmasks to see which bits are red, green, and blue, especially if dealing with big-endian vs. little-endian machines.    what is 8

Re: Figuring out the terms used in the documentation

2020-06-06 Thread Sleep
Thank you very much Adam, I have written a small diagram as an exercise, I would appreciate if someone could tell me if this is correct: Display -> is --> +---+ | | Server and | V | Input Devices | contains +---+

Re: Figuring out the terms used in the documentation

2020-06-05 Thread Adam Jackson
On Thu, 2020-06-04 at 08:23 -0300, Sleep wrote: > From the Xlib - C Language X Interface: "For each screen of the > display, there may be a list of valid visual types supported at > different depths of the screen." > > Alright this is confusing me, this implies that one screen can handle > win

Re: Figuring out the terms used in the documentation

2020-06-04 Thread Alan Coopersmith
The X protocol spec has a glossary at: https://www.x.org/releases/current/doc/xproto/x11protocol.html#glossary The Xlib API spec also has a glossary at: https://www.x.org/releases/current/doc/libX11/libX11/libX11.html#glossary More detailed definitions are found in the bodies of each document.

Re: Figuring out the terms used in the documentation

2020-06-04 Thread Sleep
From the Xlib - C Language X Interface: "For each screen of the display, there may be a list of valid visual types supported at different depths of the screen." Alright this is confusing me, this implies that one screen can handle windows with 8, 16, 24, 32 bits color depth at the same time an

Re: Figuring out the terms used in the documentation

2020-06-04 Thread Sleep
From the Xlib - C Language X Interface: "For each screen of the display, there may be a list of valid visual types supported at different depths of the screen." Alright this is confusing me, this implies that one screen can handle windows with 8, 16, 24, 32 bits color depth at the same time an