diff --git a/lib/corereqs.js b/lib/corereqs.js index ea6e0d7..43bd5b0 100644 --- a/lib/corereqs.js +++ b/lib/corereqs.js @@ -1,3 +1,6 @@ +// full list of event/error/request codes for all extensions: +// http://www.opensource.apple.com/source/X11server/X11server-106.7/kdrive/xorg-server-1.6.5-apple3/dix/protocol.txt + var xutil = require('./xutil'); var hexy = require('./hexy').hexy; @@ -301,7 +304,7 @@ module.exports = { return [format, [12, n, win, mask].concat(params)]; } ], - + ResizeWindow: [ function(win, width, height) { return module.exports.ConfigureWindow[0](win, { width : width, height: height }); @@ -516,7 +519,7 @@ module.exports = { function(buf, status) { return status; } - ], + ], UngrabKeyboard: [ function(time) { @@ -527,7 +530,7 @@ module.exports = { GrabKey: [ function(wid, ownerEvents, modifiers, key, pointerMode, keybMode) { return [ 'CCSLSCCCxxx', [ 33, ownerEvents, 4, wid, modifiers, key, pointerMode, keybMode ] ]; - } + } ], UngrabKey: [ @@ -535,7 +538,7 @@ module.exports = { return [ 'CCSLSxx', [ 34, key, 3, wid, modifiers ] ]; } ], - + GrabServer: [ [ 'CxS', [36, 1]] ], @@ -560,7 +563,7 @@ module.exports = { }; } ], - + TranslateCoordinates: [ function(srcWid, dstWid, srcX, srcY) { return [ 'CxSLLSS', [ 40, 4, srcWid, dstWid, srcX, srcY ] ]; @@ -584,7 +587,7 @@ module.exports = { return [ 'CCSLL', [42, revertTo, 3, wid, 0] ]; } ], - + GetInputFocus: [ function() { return [ 'CxS', [ 43, 1 ] ];