sidorares/node-x11 — pull request #20 by santigimeno (2012-12-18 14:18:59+00:00)
Title: Change createClient signature

- As outlined in pr #19, the new signature is:

createClient(options, initCB), where
- options is an optional object that defines different parameters such as
display, etc.
- initCB is an optional callback with the signature: function(err, display)
- The initCB is going to be called with an error ONLY if the connection to the X
server fails. Further errors in the server connection will be 'emitted'.
- Update tests and test-runner.js accordingly.