From cfbf71c6b846614b6c011e58c4f583ab24d99080 Mon Sep 17 00:00:00 2001 From: Andrey Sidorov Date: Mon, 11 Jun 2012 23:59:40 +1000 Subject: [PATCH] ConvertSelection request --- lib/x11/corereqs.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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)