about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--surf.c2
1 files changed, 2 insertions, 0 deletions
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);