mirror of
https://github.com/danbulant/node-x11
synced 2026-05-24 12:35:39 +00:00
Merge pull request #12 from santigimeno/set_input_focus
Add SetInputFocus request
This commit is contained in:
commit
8bed395742
1 changed files with 8 additions and 0 deletions
|
|
@ -386,6 +386,14 @@ module.exports = {
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
|
SetInputFocus: [
|
||||||
|
|
||||||
|
function (wid, revertTo) // revertTo: 0 - None, 1 - PointerRoot, 2 - Parent
|
||||||
|
{
|
||||||
|
return [ 'CCSLL', [42, revertTo, 3, wid, 0] ];
|
||||||
|
}
|
||||||
|
],
|
||||||
|
|
||||||
WarpPointer: [
|
WarpPointer: [
|
||||||
|
|
||||||
function (srcWin, dstWin, srcX, srcY, srcWidth, srcHeight, dstX, dstY)
|
function (srcWin, dstWin, srcX, srcY, srcWidth, srcHeight, dstX, dstY)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue