mirror of
https://github.com/danbulant/node-x11
synced 2026-06-24 09:12:13 +00:00
ConvertSelection request
This commit is contained in:
parent
de99f7ec14
commit
cfbf71c6b8
1 changed files with 8 additions and 1 deletions
|
|
@ -350,11 +350,18 @@ module.exports = {
|
||||||
},
|
},
|
||||||
|
|
||||||
function(buf) {
|
function(buf) {
|
||||||
console.log(buf);
|
|
||||||
return buf.unpack('L')[0];
|
return buf.unpack('L')[0];
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
|
ConvertSelection: [
|
||||||
|
function(requestor, selection, target, property, time) {
|
||||||
|
if (!time)
|
||||||
|
time = 0;
|
||||||
|
return ['CxSLLLLL', [24, 6, requestor, selection, target, property, time]];
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
SendEvent: [
|
SendEvent: [
|
||||||
|
|
||||||
function(destination, propagate, eventMask, eventRawData)
|
function(destination, propagate, eventMask, eventRawData)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue