Introduction
Introduction Statistics Contact Development Disclaimer Help
Set title on committed load - surf - surf browser, a WebKit based browser
git clone git://git.suckless.org/surf
Log
Files
Refs
README
LICENSE
---
commit 5f81d4a99f1dd979cdd5f3e72d5de5ea0d5cdc35
parent e92fd1aa5f38c399f8fc5d263026fbd9d34ddfbb
Author: Quentin Rameau <[email protected]>
Date: Wed, 27 Nov 2019 01:17:55 +0100
Set title on committed load
Diffstat:
M surf.c | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/surf.c b/surf.c
@@ -1538,6 +1538,8 @@ loadchanged(WebKitWebView *v, WebKitLoadEvent e, Client *…
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);
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.