Commit graph

6 commits

Author SHA1 Message Date
champii
47b791dc42 coding style 2014-09-23 16:31:08 +02:00
champii
6d6c8d3b9f Extensions, tests and exemples are now cps-style 2014-09-23 16:09:18 +02: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
Santiago Gimeno
e6796ab192 Only execute dpms test when we can
- Add test-runner.js to be able to execute the dpms when these
  conditions are complied:
     1 - DPMS extension is supported.
     2 - DPMS version is 1.1.
     3 - DPMS is capable.
2012-11-25 19:35:07 +01:00
Santiago Gimeno
c0dccec8bc Add DPMS extension
- Implemented all requests defined in:
  http://www.x.org/releases/X11R7.6/doc/xextproto/dpms.pdf
- Tests added.
2012-11-23 14:44:25 +01:00