From ebb123cf8ef363d633cfce40fd7a21668767503b Mon Sep 17 00:00:00 2001 From: sidorares Date: Wed, 20 Jul 2011 13:05:40 +1000 Subject: [PATCH] QueryPointer + test + benchmark --- lib/x11/corereqs.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/x11/corereqs.js b/lib/x11/corereqs.js index 2fc6c0b..96495fb 100644 --- a/lib/x11/corereqs.js +++ b/lib/x11/corereqs.js @@ -187,6 +187,14 @@ module.exports = { } ], + QueryPointer: [ + [ 'CxSL', [38, 2] ], + function(buf) { + var res = buf.unpack('LLSSSSS'); // TODO: should be unsigned + return res; + } + ], + // opcode 55 CreateGC: [ function(cid, drawable, values) {