summaryrefslogtreecommitdiff
path: root/conn.go
AgeCommit message (Collapse)Author
2020-10-08Fix unix:0.0 connectionsAndy Williams
According to the spec at https://www.x.org/archive/X11R6.8.0/doc/Xorg.1.html#sect5 the DISPLAY string unix:0.0 is special. This forces connections to use the unix socket at this address even if they would normally lookup TCP first. Simple fix so that we fall through to the unix socket in this case.
2015-02-22add a new api: NewConnNetfangyuanziti
2013-08-23Export the logger (again)Axel Wagner
Just enabling or disabling logging falls short of the power of interfaces of go. A user is forced to either accept the logging to stderr in the format defined by xgb or disable logging alltogether. By exporting the logger, we can actually let the user decide where to log in what format.
2013-01-26gofmtAndrew Gallant
2013-01-26Provide access to the X display number in the XGB Conn.Andrew Gallant
2012-05-16Add new logger type so that it can be shut off.Andrew Gallant (Ocelot)
2012-05-16export logger so it can be disabledAndrew Gallant (Ocelot)
2012-05-12docsAndrew Gallant (Ocelot)
2012-05-10a huge commit. splitting extensions into their own sub-packages.Andrew Gallant (Ocelot)
2012-05-08use a custom logger so we don't stomp all over the global log configurationAndrew Gallant (Ocelot)
2012-05-05extensions are working! extensions are working!Andrew Gallant (Ocelot)
2012-05-03reworking xgb. cleaned up connection stuff a little. making new xid ↵Andrew Gallant (Ocelot)
generation cleaner and use goroutines for it.