mirror of
https://github.com/danbulant/node-x11
synced 2026-06-12 03:00:19 +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: [
|
||||
function(drawable, gc, rects) { // x1, y1, w1, h1, x2, y2, w2, h2...
|
||||
var format = 'CxSL';
|
||||
var format = 'CxSLL';
|
||||
var numrects4bytes = rects.len*2;
|
||||
var args = [60, 3+numrects4bytes, drawable, gc];
|
||||
for (var i=0; i < rects.length; ++i)
|
||||
|
|
|
|||
Loading…
Reference in a new issue