From e23f1caa682a48282daebc84df984dfa6d82f324 Mon Sep 17 00:00:00 2001 From: sidorares Date: Tue, 26 Jul 2011 13:44:44 +1000 Subject: [PATCH] CreatePixmap and CopyArea requests --- lib/x11/corereqs.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lib/x11/corereqs.js b/lib/x11/corereqs.js index 72e93e7..dca9b43 100644 --- a/lib/x11/corereqs.js +++ b/lib/x11/corereqs.js @@ -233,6 +233,12 @@ module.exports = { } ], + CreatePixmap: [ + function(depth, pid, drawable, width, height) { + return [ 'CCSLLSS', [53, depth, 4, pid, drawable, width, height] ]; + } + ], + // opcode 55 CreateGC: [ function(cid, drawable, values) { @@ -251,6 +257,14 @@ module.exports = { } ], + // + CopyArea: [ + function(srcDrawable, dstDrawable, gc, srcX, srcY, dstX, dstY, width, height) { + return [ 'CxSLLLssssSS', [62, 7, srcDrawable, dstDrawable, gc, srcX, srcY, dstX, dstY, width, height] ]; + } + ], + + PolyPoint: [ function(coordMode, drawable, gc, points) {