summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c2
1 files changed, 2 insertions, 0 deletions
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);