From 7a40abc6b34361dadb10fe897c9c1fdc5c2aeed1 Mon Sep 17 00:00:00 2001 From: Quentin Rameau Date: Sun, 9 Feb 2014 23:56:45 +0100 Subject: [PATCH] Webkitgtk 1.11.5 fixes anchor title handling --- surf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/surf.c b/surf.c index 654353d..5789b80 100644 --- a/surf.c +++ b/surf.c @@ -1182,7 +1182,10 @@ stop(Client *c, const Arg *arg) { static void titlechange(WebKitWebView *view, GParamSpec *pspec, Client *c) { const gchar *t = webkit_web_view_get_title(view); - if (t) { +#if !WEBKIT_CHECK_VERSION(1, 11, 5) + if (t) +#endif + { c->title = copystr(&c->title, t); updatetitle(c); } -- 1.8.5.4