This commit is contained in:
champii 2014-08-30 08:37:18 +02:00
parent e5e4eac0e5
commit 965b5ca997
2 changed files with 47 additions and 46 deletions

View file

@ -660,7 +660,7 @@ var templates = {
backR = backRGB.R backR = backRGB.R
backG = backRGB.G backG = backRGB.G
backB = backRGB.B backB = backRGB.B
return [ 'CxSLLLSSSSSSSS', [93, , cid, source, mask, foreR, foreG, foreB, backR, backG, backB, x, y] ]; return [ 'CxSLLLSSSSSSSS', [93, 8, cid, source, mask, foreR, foreG, foreB, backR, backG, backB, x, y] ];
} }
], ],

View file

@ -142,6 +142,7 @@ XClient.prototype.importRequestsFromTemplates = function(target, reqs)
this.pending_atoms = {}; this.pending_atoms = {};
for (var r in reqs) for (var r in reqs)
{ {
console.log(r);
// r is request name // r is request name
target[r] = (function(reqName) { target[r] = (function(reqName) {