Commit graph

5 commits

Author SHA1 Message Date
Santiago Gimeno
e5be17ac46 src: fix CreateWindow attributes encoding
- Every attribute must have 4 byte length.
- Add test.
2014-12-09 10:33:19 +01:00
Andrey Sidorov
3f064b218e get rid of lib/x11 nested subdirectory, lib/x11 -> lib 2013-02-19 16:23:53 +11:00
Santiago Gimeno
4508f9e93d Change createClient signature
- 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.
- Update README.
2012-12-19 09:34:19 +01:00
Andrey Sidorov
255081192e assertion fixed 2012-06-08 17:07:01 +10:00
Andrey Sidorov
e631e6fac6 CreateWindow test 2012-06-01 18:17:55 +10:00