From 91a3e5e08f898dbcaf5419f331c24cb00592ad62 Mon Sep 17 00:00:00 2001 From: Andrey Sidorov Date: Wed, 11 Apr 2012 13:05:23 +1000 Subject: [PATCH] createwindow depth parameter updated --- examples/paint.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/paint.js b/examples/paint.js index 427f36d..3cebba9 100644 --- a/examples/paint.js +++ b/examples/paint.js @@ -16,7 +16,7 @@ var xclient = x11.createClient(function(display) { var white = display.screen[0].white_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); var pict = X.AllocID(); @@ -63,7 +63,3 @@ var xclient = x11.createClient(function(display) { }); }); }); - -function updateScene() -{ -}