enable and disable insert mode when focussing form elements
enable and disable insert mode when focussing form elements

Enable insert mode when clicking an editable form element, disable it
when clicking anywhere else.

Note that there currently seems to be a bug in uzbl that triggers a
FOCUS_ELEMENT event right after triggering a ROOT_ACTIVE, causing us to
go back into insert mode.

dominikh/go-uzbl