mirror of
https://github.com/danbulant/node-x11
synced 2026-07-04 10:40:36 +00:00
commit
6627fd5168
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ var xclient = x11.createClient({ debug: true }, 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: Exposure|PointerMotion });
|
X.CreateWindow(wid, root, 10, 10, 400, 300, 0, 0, 0, 0, { backgroundPixel: white, eventMask: Exposure|PointerMotion });
|
||||||
X.MapWindow(wid);
|
X.MapWindow(wid);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue