2.1 Introduction

A particular X server, together with its screens and input devices, is called a display. The CLX display object contains all the information about the particular display and its screens, as well as the state that is needed to communicate with the display over a particular connection.

Before your program can use a display, you must establish a connection to the X server driving your display. Once you have established a connection, you then can use the CLX macros and functions discussed in this section to return information about the display. This section discusses how to: