mirror of
https://github.com/danbulant/node-x11
synced 2026-06-17 13:41:11 +00:00
Handle UnmapNotify event
This commit is contained in:
parent
3746e369fa
commit
85773377e9
1 changed files with 6 additions and 0 deletions
|
|
@ -300,6 +300,12 @@ XClient.prototype.unpackEvent = function(type, seq, extra, code, raw)
|
|||
event.name = 'DestroyNotify'
|
||||
event.wid = extra;
|
||||
event.wid1 = values[0];
|
||||
} else if (type == 18) { // UnmapNotify
|
||||
var values = raw.unpack('LLC');
|
||||
event.name = 'UnmapNotify'
|
||||
event.event = extra;
|
||||
event.wid = values[0];
|
||||
event.fromConfigure = values[1] ? true : false;
|
||||
} else if (type == 19) { // MapNotify
|
||||
var values = raw.unpack('LLC');
|
||||
event.name = 'MapNotify'
|
||||
|
|
|
|||
Loading…
Reference in a new issue