diff options
| author | Andrew Gallant (Ocelot) <[email protected]> | 2012-05-05 18:22:24 -0400 |
|---|---|---|
| committer | Andrew Gallant (Ocelot) <[email protected]> | 2012-05-05 18:22:24 -0400 |
| commit | cc5573858c6d9b41609ed1ba334d37e77887b69e (patch) | |
| tree | 06e4cbfd82cfca74e31d79a418bb3ecc12652445 /conn.go | |
| parent | 568f1c44fb9489a7f7762e96544f0173b23ec61b (diff) | |
extensions are working! extensions are working!
Diffstat (limited to 'conn.go')
| -rw-r--r-- | conn.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -10,7 +10,8 @@ import ( "strings" ) -// connect connects to the X server given in the 'display' string. +// connect connects to the X server given in the 'display' string, +// and does all the necessary setup handshaking. // If 'display' is empty it will be taken from os.Getenv("DISPLAY"). // Note that you should read and understand the "Connection Setup" of the // X Protocol Reference Manual before changing this function: @@ -87,6 +88,7 @@ func (c *Conn) connect(display string) error { return nil } +// dial initializes the actual net connection with X. func (c *Conn) dial(display string) error { if len(display) == 0 { display = os.Getenv("DISPLAY") |
