mirror of
https://github.com/danbulant/node-x11
synced 2026-05-19 04:18:35 +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) {
|
||||
var wid = X.AllocID();
|
||||
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.MapWindow(wid);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue