mirror of
https://github.com/danbulant/node-x11
synced 2026-05-21 21:39:13 +00:00
Fix format of some requests
This commit is contained in:
parent
e69f1b7475
commit
e361424792
1 changed files with 4 additions and 4 deletions
|
|
@ -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]];
|
||||
}
|
||||
],
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue