mirror of
https://github.com/danbulant/node-x11
synced 2026-05-19 04:18:35 +00:00
test: clean configure-request test
This commit is contained in:
parent
28e9343487
commit
ca5bcb7df4
1 changed files with 0 additions and 2 deletions
|
|
@ -9,7 +9,6 @@ describe('ConfigureRequest', function() {
|
|||
self.X = dpy.client;
|
||||
self.root = dpy.screen[0].root;
|
||||
self.wid = self.X.AllocID();
|
||||
self.wid_helper = self.X.AllocID();
|
||||
/* self.X acts like a WM */
|
||||
self.X.ChangeWindowAttributes(self.root, { eventMask: x11.eventMask.SubstructureRedirect });
|
||||
self.X.CreateWindow(self.wid, self.root, 0, 0, 1, 1); // 1x1 pixel window
|
||||
|
|
@ -30,7 +29,6 @@ describe('ConfigureRequest', function() {
|
|||
var client = x11.createClient(function(err, dpy) {
|
||||
should.not.exist(err);
|
||||
self.X.once('event', function(ev) {
|
||||
console.log(ev);
|
||||
ev.name.should.equal('ConfigureRequest');
|
||||
ev.x.should.equal(0);
|
||||
ev.y.should.equal(20);
|
||||
|
|
|
|||
Loading…
Reference in a new issue