CTWM
Loading...
Searching...
No Matches
Variables
Various root and pseudo-root Windows.

These are the various forms of root and almost-root windows that things on this Screen reside in. More...

Variables

Window ScreenInfo::Root
 Root window for the current vscreen.
 
Window ScreenInfo::XineramaRoot
 Root window holding our vscreens.
 
Window ScreenInfo::RealRoot
 The actual X root window of the display.
 

Detailed Description

These are the various forms of root and almost-root windows that things on this Screen reside in.

It's probable that there's a lot of confusion of these, and they get set, reset, and used incorrectly in a lot of places. We mostly get away with it because in normal usage, they're often all identical.

*
*  +--RealRoot-----------------------------------------------------------+
*  | the root of the display (most uses of this are probably incorrect!) |
*  |                                                                     |
*  |   +--CaptiveRoot--------------------------------------------------+ |
*  |   | when captive window is used (most uses are likely incorrect!) | |
*  |   |                                                               | |
*  |   | +--XineramaRoot---------------------------------------------+ | |
*  |   | | the root that encompasses all virtual screens             | | |
*  |   | |                                                           | | |
*  |   | | +--Root-----------+ +--Root--------+ +--Root------------+ | | |
*  |   | | | one or more     | | Most cases   | |                  | | | |
*  |   | | | virtual screens | | use Root.    | |                  | | | |
*  |   | | |                 | |              | |                  | | | |
*  |   | | |                 | |              | |                  | | | |
*  |   | | +-----------------+ +--------------+ +------------------+ | | |
*  |   | +-----------------------------------------------------------+ | |
*  |   +---------------------------------------------------------------+ |
*  +---------------------------------------------------------------------+
* 

Variable Documentation

◆ RealRoot

Window ScreenInfo::RealRoot

The actual X root window of the display.

This is always X's RootWindow().

Definition at line 207 of file screen.h.

Referenced by InitScreenInfo().

◆ Root

Window ScreenInfo::Root

Root window for the current vscreen.

Initially either the real X RootWindow(), or the existing or created Window for a captive ctwm. Gets reset to a vscreen's window in InitVirtualScreens().

Definition at line 194 of file screen.h.

Referenced by AnimateRoot(), ExtractIcon(), init_def_vscreen(), InitScreenInfo(), and takeover_screen().

◆ XineramaRoot

Window ScreenInfo::XineramaRoot

Root window holding our vscreens.

Initialized to the same value as ScreenInfo.Root, and isn't changed afterward.

Definition at line 200 of file screen.h.

Referenced by EwmhInitScreenEarly(), EwmhInitScreenLate(), EwmhReplaceWM(), EwmhTerminateScreen(), and InitScreenInfo().