Switch to input mode on authentication request #444.
authorDaniel Carl <danielcarl@gmx.de>
Fri, 13 Oct 2017 21:22:18 +0000 (23:22 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Fri, 13 Oct 2017 21:33:09 +0000 (23:33 +0200)
commit2d67f7984deeda4cf715c4ec57d9438b4c1efbf7
treeb82840dabc5bf026ae4ee5e6db80dd80d4297296
parentc346c0c7be0f6d52a0cfc588e372709237858062
Switch to input mode on authentication request #444.

Webkit shows an default embedded authentication dialog in case of
HTTP-Authentication. But this dialog is neither a GTK dialog nor part of
the DOM. So we are not informed about the any focus changes and vimb
keeps in normal mode and the user cant use all the chars for the
authentication.
This patch listen to the webview authentication signal to force
switching to input mode. On the other had a new flag is set to avoid
switching vimb back to normal mode because of focus changes in the
underlaying DOM (previous opened page).
src/main.c
src/main.h