From 3b415bcec51e5c8c11ab8f821e801304b06c4e46 Mon Sep 17 00:00:00 2001 From: Santiago Gimeno Date: Tue, 16 Jul 2013 15:23:33 +0200 Subject: [PATCH] Add GetInputFocus request --- lib/corereqs.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lib/corereqs.js b/lib/corereqs.js index e821c3d..5525fe6 100644 --- a/lib/corereqs.js +++ b/lib/corereqs.js @@ -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: [