From: Christoph Lohmann <20h@r-36.net> Date: Mon, 13 Jan 2014 16:58:45 +0000 (+0100) Subject: Make surf set the URI atom right on manual URI entering. X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=9eedabe3487193e29b0fe5f29a8d30dc314026cc;p=surf.git Make surf set the URI atom right on manual URI entering. --- diff --git a/surf.c b/surf.c index d970f7f..f0be24b 100644 --- a/surf.c +++ b/surf.c @@ -635,6 +635,8 @@ loaduri(Client *c, const Arg *arg) { : g_strdup_printf("http://%s", uri); } + setatom(c, AtomUri, uri); + /* prevents endless loop */ if(strcmp(u, geturi(c)) == 0) { reload(c, &a);