2022-02-24 23:59:43 +00:00
|
|
|
- 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.
|
2022-03-31 22:38:18 +00:00
|
|
|
|
|
|
|
CXX Opts looks like a really useful version of GetOpts that will do what you want:
|
|
|
|
https://github.com/jarro2783/cxxopts
|