mirror of
https://github.com/danbulant/node-x11
synced 2026-06-24 09:12:13 +00:00
missing drawable arg in format string for PolyFillRectangle request
This commit is contained in:
parent
85fe833e9f
commit
fff3c86688
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ module.exports = {
|
||||||
|
|
||||||
PolyFillRectangle: [
|
PolyFillRectangle: [
|
||||||
function(drawable, gc, rects) { // x1, y1, w1, h1, x2, y2, w2, h2...
|
function(drawable, gc, rects) { // x1, y1, w1, h1, x2, y2, w2, h2...
|
||||||
var format = 'CxSL';
|
var format = 'CxSLL';
|
||||||
var numrects4bytes = rects.len*2;
|
var numrects4bytes = rects.len*2;
|
||||||
var args = [60, 3+numrects4bytes, drawable, gc];
|
var args = [60, 3+numrects4bytes, drawable, gc];
|
||||||
for (var i=0; i < rects.length; ++i)
|
for (var i=0; i < rects.length; ++i)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue