Add GetInputFocus request

This commit is contained in:
Santiago Gimeno 2013-07-16 15:23:33 +02:00
parent c95ab04485
commit 3b415bcec5

View file

@ -506,6 +506,19 @@ module.exports = {
return [ 'CCSLL', [42, revertTo, 3, wid, 0] ];
}
],
GetInputFocus: [
function() {
return [ 'CxS', [ 43, 1 ] ];
},
function(buf, revertTo)
{
return {
focus : buf.unpack('L')[0],
revertTo : revertTo
};
}
],
WarpPointer: [