From 9eedabe3487193e29b0fe5f29a8d30dc314026cc Mon Sep 17 00:00:00 2001 From: Christoph Lohmann <20h@r-36.net> Date: Mon, 13 Jan 2014 17:58:45 +0100 Subject: [PATCH] Make surf set the URI atom right on manual URI entering. --- surf.c | 2 ++ 1 file changed, 2 insertions(+) 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); -- 2.20.1