mirror of
https://github.com/danbulant/node-x11
synced 2026-07-06 03:31:16 +00:00
added FreeCursor call
This commit is contained in:
parent
d46d43a22e
commit
b69f67222b
2 changed files with 22 additions and 16 deletions
|
|
@ -718,6 +718,12 @@ var templates = {
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
|
FreePixmap: [
|
||||||
|
function (pixmap) {
|
||||||
|
return [ 'CxSL', [54, 2, pixmap] ];
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
CreateCursor: [
|
CreateCursor: [
|
||||||
function(cid, source, mask, foreRGB, backRGB, x, y) {
|
function(cid, source, mask, foreRGB, backRGB, x, y) {
|
||||||
foreR = foreRGB.R
|
foreR = foreRGB.R
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ exports.requireExt = function(display, callback)
|
||||||
ext.QueryVersion(1, 1, function(err, vers) {
|
ext.QueryVersion(1, 1, function(err, vers) {
|
||||||
ext.major = vers[0];
|
ext.major = vers[0];
|
||||||
ext.minor = vers[1];
|
ext.minor = vers[1];
|
||||||
callback(ext);
|
callback(null, ext);
|
||||||
});
|
});
|
||||||
|
|
||||||
ext.events = {
|
ext.events = {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue