ConvertSelection request

This commit is contained in:
Andrey Sidorov 2012-06-11 23:59:40 +10:00
parent de99f7ec14
commit cfbf71c6b8

View file

@ -350,11 +350,18 @@ module.exports = {
},
function(buf) {
console.log(buf);
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: [
function(destination, propagate, eventMask, eventRawData)