added FreeCursor call

This commit is contained in:
champii 2014-09-08 16:16:21 +02:00
parent d46d43a22e
commit b69f67222b
2 changed files with 22 additions and 16 deletions

View file

@ -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

View file

@ -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 = {