builtin client:change noFocus client option behavior: the defalt client window now doesn't take the focus at all, even when a text input is clicked.
This commit is contained in:
parent
dca6d2c889
commit
74f6c289e5
8 changed files with 48 additions and 4 deletions
|
|
@ -34,6 +34,9 @@ window.TOGGLE_ALT_TRAVERSING = !!ENV.altTraversing
|
|||
|
||||
window.VIRTUAL_KEYBOARD = !!ENV.virtualKeyboard
|
||||
|
||||
window.FOCUSABLE = !ENV.noFocus
|
||||
if (!FOCUSABLE) console.debug('ELECTRON.SETFOCUSABLE(0)')
|
||||
else console.debug('ELECTRON.SETFOCUSABLE(1)')
|
||||
|
||||
window.JSON.parseFlex = require('json5').parse
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue