mirror of
https://github.com/danbulant/node-x11
synced 2026-06-20 07:01:23 +00:00
A couple of fixes in GetGeometry
- Make ext variable local. - Fix typo in borderWidth attribute.
This commit is contained in:
parent
69f76171de
commit
759da10e8f
1 changed files with 2 additions and 2 deletions
|
|
@ -787,13 +787,13 @@ module.exports = {
|
||||||
function(buff)
|
function(buff)
|
||||||
{
|
{
|
||||||
var res = buff.unpack('LSSSSSx');
|
var res = buff.unpack('LSSSSSx');
|
||||||
ext = {};
|
var ext = {};
|
||||||
ext.windowid = res[0]
|
ext.windowid = res[0]
|
||||||
ext.xPos = res[1];
|
ext.xPos = res[1];
|
||||||
ext.yPos = res[2];
|
ext.yPos = res[2];
|
||||||
ext.width = res[3];
|
ext.width = res[3];
|
||||||
ext.height = res[4];
|
ext.height = res[4];
|
||||||
ext.borderWith = res[5];
|
ext.borderWidth = res[5];
|
||||||
return ext;
|
return ext;
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue