about summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2019-11-27 01:17:55 +0100
committerQuentin Rameau <quinq@fifth.space>2020-11-01 16:59:12 +0100
commit5f81d4a99f1dd979cdd5f3e72d5de5ea0d5cdc35 (patch)
tree95f5b2a7d4ea1794144bce14f09cf80f94051a69
parentCommunicate through a Unix socket instead of a pipe pair (diff)
downloadsurf-5f81d4a99f1dd979cdd5f3e72d5de5ea0d5cdc35.tar.gz
surf-5f81d4a99f1dd979cdd5f3e72d5de5ea0d5cdc35.tar.bz2
surf-5f81d4a99f1dd979cdd5f3e72d5de5ea0d5cdc35.zip
Set title on committed load
-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);