Set title on committed load

This commit is contained in:
Quentin Rameau 2019-11-27 01:17:55 +01:00
parent e92fd1aa5f
commit 5f81d4a99f

2
surf.c
View file

@ -1538,6 +1538,8 @@ loadchanged(WebKitWebView *v, WebKitLoadEvent e, Client *c)
seturiparameters(c, uri, loadtransient);
break;
case WEBKIT_LOAD_COMMITTED:
setatom(c, AtomUri, uri);
c->title = uri;
seturiparameters(c, uri, loadcommitted);
c->https = webkit_web_view_get_tls_info(c->view, &c->cert,
&c->tlserr);