diff --git a/surf.c b/surf.c index d970f7f..8932fba 100644 --- a/surf.c +++ b/surf.c @@ -635,6 +635,7 @@ 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);