Don't clear focus if vimb is in input mode.
authorDaniel Carl <danielcarl@gmx.de>
Thu, 11 Dec 2014 08:23:50 +0000 (09:23 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Thu, 11 Dec 2014 08:23:50 +0000 (09:23 +0100)
commit061710981ba7a9fde2d09d1764f760e8ac322254
tree875dede6e2c5087230ca7a032d6835627b2a6ec5
parent452c8baeb8f0e50749e1794cdb62c10281d08c5e
Don't clear focus if vimb is in input mode.

If strict-focus is enabled and the user started typing into form field right
before the page way fully loaded, the focus was cleared, so that vimb switched
back to normal mode and executed the pressed keys as normal mode commands.
No the focus is only cleared if strict-focus is enabled and vimb is not in
input mode.
src/dom.c