xcb-studies/notes.md

12 lines
493 B
Markdown
Raw Normal View History

- A Display has Screens
- A Screen has Monitors & Windows
- The root Screen is accessed by traversing to the head of the list of
screens using an interator.
- The root screen's root window is used as the parameter for
'get_screen_resources'.
- The screen_resources object is contains 'screen_resources_crtcs',
which you again get via an iterator. These are cookies.
CXX Opts looks like a really useful version of GetOpts that will do what you want:
https://github.com/jarro2783/cxxopts