mirror of
https://github.com/danbulant/node-x11
synced 2026-06-18 14:11:29 +00:00
don't overwrite ClientMessage type
This commit is contained in:
parent
72f79ea9f9
commit
7e22a439e8
1 changed files with 0 additions and 1 deletions
|
|
@ -404,7 +404,6 @@ XClient.prototype.unpackEvent = function(type, seq, extra, code, raw, headerBuf)
|
|||
event.name = 'ClientMessage';
|
||||
event.format = code;
|
||||
event.wid = extra;
|
||||
event.type = raw.readUInt32LE(0);
|
||||
var format = (code === 32) ? 'LLLLL' : (code === 16) ? 'SSSSSSSSSS' : 'CCCCCCCCCCCCCCCCCCCC';
|
||||
event.data = raw.unpack(format, 4);
|
||||
} else if (type == 34) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue