mirror of
https://github.com/danbulant/node-x11
synced 2026-06-24 17:21:47 +00:00
missed format arg vor values mask in CreateGC
This commit is contained in:
parent
80923803e0
commit
cceceffa90
1 changed files with 1 additions and 2 deletions
|
|
@ -167,7 +167,7 @@ module.exports = {
|
||||||
// opcode 55
|
// opcode 55
|
||||||
CreateGC: [
|
CreateGC: [
|
||||||
function(cid, drawable, values) {
|
function(cid, drawable, values) {
|
||||||
var format = 'CxSLL';
|
var format = 'CxSLLL';
|
||||||
var packetLength = 4 + (values ? Object.keys(values).length : 0);
|
var packetLength = 4 + (values ? Object.keys(values).length : 0);
|
||||||
var args = [55, packetLength, cid, drawable];
|
var args = [55, packetLength, cid, drawable];
|
||||||
var vals = packValueMask('CreateGC', values);
|
var vals = packValueMask('CreateGC', values);
|
||||||
|
|
@ -214,7 +214,6 @@ module.exports = {
|
||||||
format += 'S';
|
format += 'S';
|
||||||
args.push(coords[i]);
|
args.push(coords[i]);
|
||||||
}
|
}
|
||||||
console.error([format, args]);
|
|
||||||
return [format, args];
|
return [format, args];
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue