Site hosted by Angelfire.com: Build your free website today!

Hands-on Projects for the Linux Graphics Subsystem

New book from Christos Karayiannis

Available in Amazon Kindle format at:

amazon.com   amazon.co.uk   amazon.de   amazon.es   amazon.fr   amazon.it

Configuration

    if (xf86DoConfigure)
	DoConfigure();

DoConfigure() is executed when xf86DoConfigure becomes TRUE. Variable xf86DoConfigure is defined in xf86.h and becomes FALSE to xf86Globals.c:

Bool xf86DoConfigure = FALSE;

Therefore DoConfigure() is not normally executed except if xf86DoConfigure is set to TRUE, which takes place at ddxProcessArgument. The latter is called on special occasions. See for an explanation the X.Org Manual pages text:

Parse configuration info: The first task of InitOutput() is to parses any configuration information from the configuration file. In addition to the XF86Config file, other configuration information can be taken from the command line. The command line options can be gathered either in InitOutput() or earlier in the ddxProcessArgument() function, which is called by ProcessCommandLine(). The configuration information determines the characteristics of the screen(s). For example, in the XFree86 X server, the XF86Config file specifies the monitor information, the screen resolution, the graphics devices and slots in which they are located, and, for Xinerama, the screens' layout.