Comparing version 2.2.0 to 2.2.1
@@ -20,3 +20,3 @@ var x11 = require('../lib'); | ||
var dispwin = X.AllocID(); | ||
X.CreateWindow(dispwin, root, 0, 0, width, height, 1, 1, 0, { eventMask: x11.eventMask.Exposure }); | ||
X.CreateWindow(dispwin, root, 0, 0, width, height, 0, 0, 0, 0, { eventMask: x11.eventMask.Exposure }); | ||
X.MapWindow(dispwin); | ||
@@ -75,3 +75,7 @@ //X.CopyArea(idScreenshot, dispwin, gc, 0, 0, 0, 0, width, height); | ||
*/ | ||
X.GetImage(2, root, 0, 0, width, height, 0xffffffff, function(image) { | ||
X.GetImage(2, id, 0, 0, width, height, 0xffffffff, function(err, image) { | ||
if (err) { | ||
console.log(err); | ||
process.exit(1); | ||
} | ||
console.log(image); | ||
@@ -78,0 +82,0 @@ // format, drawable, gc, width, height, dstX, dstY, leftPad, depth, data |
@@ -730,8 +730,2 @@ // full list of event/error/request codes for all extensions: | ||
FreePixmap: [ | ||
function(pixmap) { | ||
return [ 'CxSL', [ 54, 2, pixmap ] ]; | ||
} | ||
], | ||
FreePixmap: [ | ||
function (pixmap) { | ||
@@ -738,0 +732,0 @@ return [ 'CxSL', [54, 2, pixmap] ]; |
@@ -14,2 +14,7 @@ var core = require('./xcore'); | ||
Object.defineProperty(module.exports, 'gcFunction', { | ||
enumerable: true, | ||
get: function() { return require('./gcfunction'); } | ||
}); | ||
//TODO: | ||
@@ -16,0 +21,0 @@ // keepe everything in namespace for consistensy (eventMask, keySyms, class, destination ... |
@@ -9,3 +9,2 @@ var util = require('util'); // util.inherits | ||
var PackStream = require('./unpackstream'); | ||
var coreRequestsTemplate = require('./corereqs'); | ||
var hexy = require('./hexy').hexy; | ||
@@ -24,2 +23,21 @@ | ||
function stash () | ||
{ | ||
require('./ext/apple-wm'); | ||
require('./ext/big-requests'); | ||
require('./ext/composite'); | ||
require('./ext/damage'); | ||
require('./ext/dpms'); | ||
require('./ext/fixes'); | ||
require('./ext/glxconstants'); | ||
require('./ext/glx'); | ||
require('./ext/glxrender'); | ||
require('./ext/randr'); | ||
require('./ext/render'); | ||
require('./ext/screen-saver'); | ||
require('./ext/shape'); | ||
require('./ext/xc-misc'); | ||
require('./ext/xtest'); | ||
} | ||
function XClient(displayNum, screenNum, options) | ||
@@ -26,0 +44,0 @@ { |
@@ -15,3 +15,3 @@ { | ||
"homepage": "https://github.com/sidorares/node-x11", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"maintainers": [ | ||
@@ -18,0 +18,0 @@ { |
# About | ||
[![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/sidorares/node-x11?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
[![Gitter](https://badges.gitter.im/Join\ Chat.svg)](https://gitter.im/sidorares/node-x11?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||
X11 protocol client for node.js | ||
@@ -4,0 +4,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1650103
185
18037
23