commit 5f81d4a99f1dd979cdd5f3e72d5de5ea0d5cdc35
Author: Quentin Rameau <[email protected]>
AuthorDate: Wed Nov 27 01:17:55 2019 +0100
Commit: Quentin Rameau <[email protected]>
CommitDate: Sun Nov 1 16:59:12 2020 +0100
Set title on committed load
diff --git a/surf.c b/surf.c
index 171c3a6..566b605 100644
--- a/surf.c
+++ b/surf.c
@@ -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);