XOpenDisplay
lastmod 2021-01-03created 2021-01-032 edits
connect to X server.
Arguments
- display_name
- Specifies the hardware display name, which determines the display and communications domain to be used. On a POSIX-conformant system, if
NULL, it defaults to the value of theDISPLAYenvironment variable.
DISPLAY Environment variable
-
:0 - Connect to Display 0.
-
:0.0 - Connect to Screen 0 of Display 0.