mirror of
https://github.com/danbulant/node-x11
synced 2026-07-06 03:31:16 +00:00
Merge pull request #190 from roquef/patch-1
Fixes variable declaration typo in example
This commit is contained in:
commit
8ed75f54e1
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ var xclient = x11.createClient(function(err, display) {
|
||||||
display.client.require('render', function(err, Render) {
|
display.client.require('render', function(err, Render) {
|
||||||
var wid = X.AllocID();
|
var wid = X.AllocID();
|
||||||
var white = display.screen[0].white_pixel;
|
var white = display.screen[0].white_pixel;
|
||||||
varblack = display.screen[0].black_pixel;
|
var black = display.screen[0].black_pixel;
|
||||||
X.CreateWindow(wid, root, 10, 10, 400, 300, 0, 0, 0, 0, { backgroundPixel: white, eventMask: PointerMotion });
|
X.CreateWindow(wid, root, 10, 10, 400, 300, 0, 0, 0, 0, { backgroundPixel: white, eventMask: PointerMotion });
|
||||||
X.MapWindow(wid);
|
X.MapWindow(wid);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue