This section describes functions and a variable that you can use to get information about the capabilities and origin of the X server corresponding to a particular device. The device argument is generally optional and defaults to the selected device.
This function returns the list of version numbers of the X server device is on. The returned value is a list of three integers: the major and minor version numbers of the X protocol in use, and the vendor-specific release number.
This function returns the vendor supporting the X server device is on.
This function returns the visual class of the display device is
on. The value is one of the symbols static-gray
,
gray-scale
, static-color
, pseudo-color
,
true-color
, and direct-color
. (Note that this is different
from previous versions of SXEmacs, which returned StaticGray
,
GrayScale
, etc.)