mirror of
https://github.com/danbulant/node-x11
synced 2026-05-24 12:35:39 +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)
|
function(buf)
|
||||||
{
|
{
|
||||||
var res = buf.unpack('LSS');
|
var res = buf.unpack('Lss');
|
||||||
ext = {};
|
ext = {};
|
||||||
ext.child = res[0];
|
ext.child = res[0];
|
||||||
ext.destX = res[1];
|
ext.destX = res[1];
|
||||||
|
|
@ -682,7 +682,7 @@ module.exports = {
|
||||||
|
|
||||||
PolyText8: [
|
PolyText8: [
|
||||||
function(drawable, gc, x, y, items) {
|
function(drawable, gc, x, y, items) {
|
||||||
var format = 'CxSLLSS';
|
var format = 'CxSLLss';
|
||||||
var numItems = items.length;
|
var numItems = items.length;
|
||||||
var reqLen = 16;
|
var reqLen = 16;
|
||||||
var args = [74, 0, drawable, gc, x, y];
|
var args = [74, 0, drawable, gc, x, y];
|
||||||
|
|
@ -801,7 +801,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
function(buff)
|
function(buff)
|
||||||
{
|
{
|
||||||
var res = buff.unpack('LSSSSSx');
|
var res = buff.unpack('LssSSSx');
|
||||||
var ext = {};
|
var ext = {};
|
||||||
ext.windowid = res[0]
|
ext.windowid = res[0]
|
||||||
ext.xPos = res[1];
|
ext.xPos = res[1];
|
||||||
|
|
@ -821,7 +821,7 @@ module.exports = {
|
||||||
|
|
||||||
SetScreenSaver: [
|
SetScreenSaver: [
|
||||||
function(timeout, interval, preferBlanking, allowExposures) {
|
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