mirror of
https://github.com/danbulant/node-x11
synced 2026-05-26 21:42:04 +00:00
new V* stricter to variable names - class renamed to _class
This commit is contained in:
parent
594456a9c3
commit
265e2b0bed
1 changed files with 3 additions and 2 deletions
|
|
@ -104,7 +104,8 @@ the way requests are described here
|
||||||
module.exports = {
|
module.exports = {
|
||||||
CreateWindow: [
|
CreateWindow: [
|
||||||
// create request packet - function OR format string
|
// create request packet - function OR format string
|
||||||
function(id, parentId, x, y, width, height, borderWidth, class, visual, values) {
|
function(id, parentId, x, y, width, height, borderWidth, _class, visual, values) {
|
||||||
|
console.log('CreateWindow called', id);
|
||||||
|
|
||||||
// TODO: ??? there is depth field in xproto, but xlib just sets it to zero
|
// TODO: ??? there is depth field in xproto, but xlib just sets it to zero
|
||||||
var depth = 0;
|
var depth = 0;
|
||||||
|
|
@ -116,7 +117,7 @@ module.exports = {
|
||||||
// create bitmask
|
// create bitmask
|
||||||
var bitmask = 0;
|
var bitmask = 0;
|
||||||
// TODO: slice from function arguments?
|
// TODO: slice from function arguments?
|
||||||
var args = [1, depth, packetLength, id, parentId, x, y, width, height, borderWidth, class, visual];
|
var args = [1, depth, packetLength, id, parentId, x, y, width, height, borderWidth, _class, visual];
|
||||||
|
|
||||||
// TODO: the code is a little bit mess
|
// TODO: the code is a little bit mess
|
||||||
// additional values need to be packed in the following way:
|
// additional values need to be packed in the following way:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue