mirror of
https://github.com/danbulant/node-x11
synced 2026-07-09 13:10:45 +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: [
|
||||
function(cid, source, mask, foreRGB, backRGB, x, y) {
|
||||
foreR = foreRGB.R
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ exports.requireExt = function(display, callback)
|
|||
ext.QueryVersion(1, 1, function(err, vers) {
|
||||
ext.major = vers[0];
|
||||
ext.minor = vers[1];
|
||||
callback(ext);
|
||||
callback(null, ext);
|
||||
});
|
||||
|
||||
ext.events = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue