mirror of
https://github.com/danbulant/node-x11
synced 2026-06-24 17:21:47 +00:00
createwindow depth parameter updated
This commit is contained in:
parent
de3ad6be9c
commit
91a3e5e08f
1 changed files with 1 additions and 5 deletions
|
|
@ -16,7 +16,7 @@ var xclient = x11.createClient(function(display) {
|
||||||
|
|
||||||
var white = display.screen[0].white_pixel;
|
var white = display.screen[0].white_pixel;
|
||||||
var black = display.screen[0].black_pixel;
|
var black = display.screen[0].black_pixel;
|
||||||
X.CreateWindow(wid, root, 10, 10, 400, 300, 1, 1, 0, { backgroundPixel: white, eventMask: PointerMotion|ButtonPress|ButtonRelease });
|
X.CreateWindow(wid, root, 10, 10, 400, 300, 0, 0, 0, 0, { backgroundPixel: white, eventMask: PointerMotion|ButtonPress|ButtonRelease });
|
||||||
X.MapWindow(wid);
|
X.MapWindow(wid);
|
||||||
|
|
||||||
var pict = X.AllocID();
|
var pict = X.AllocID();
|
||||||
|
|
@ -63,7 +63,3 @@ var xclient = x11.createClient(function(display) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function updateScene()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue