Commit graph

5 commits

Author SHA1 Message Date
Santiago Gimeno
f0b0bac336
test: fix flaky core-KillKlient test
Wait for the `CreateNotify` before killing the client, otherwise a
`BadValue` error could be raised.
2016-10-11 12:04:09 +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
Andrey Sidorov
6d565ec0e9 debug travis error with killKlient 2012-07-16 14:34:54 +10:00
Andrey Sidorov
ca5efc1941 KillKlient and ForceScreenSaver requests 2012-06-01 11:57:20 +10:00