Fix format of some requests

This commit is contained in:
Santiago Gimeno 2013-05-21 14:31:59 +02:00
parent e69f1b7475
commit e361424792

View file

@ -488,7 +488,7 @@ module.exports = {
},
function(buf)
{
var res = buf.unpack('LSS');
var res = buf.unpack('Lss');
ext = {};
ext.child = res[0];
ext.destX = res[1];
@ -682,7 +682,7 @@ module.exports = {
PolyText8: [
function(drawable, gc, x, y, items) {
var format = 'CxSLLSS';
var format = 'CxSLLss';
var numItems = items.length;
var reqLen = 16;
var args = [74, 0, drawable, gc, x, y];
@ -801,7 +801,7 @@ module.exports = {
},
function(buff)
{
var res = buff.unpack('LSSSSSx');
var res = buff.unpack('LssSSSx');
var ext = {};
ext.windowid = res[0]
ext.xPos = res[1];
@ -821,7 +821,7 @@ module.exports = {
SetScreenSaver: [
function(timeout, interval, preferBlanking, allowExposures) {
return [ 'CxSSSCCxx', [107, 3, timeout, interval, preferBlanking, allowExposures]];
return [ 'CxSssCCxx', [107, 3, timeout, interval, preferBlanking, allowExposures]];
}
],