diff --git a/lib/x11/corereqs.js b/lib/x11/corereqs.js index 1519a21..79946ea 100644 --- a/lib/x11/corereqs.js +++ b/lib/x11/corereqs.js @@ -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)