summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2014-01-13 17:58:45 +0100
committerChristoph Lohmann <20h@r-36.net>2014-01-13 17:58:45 +0100
commit9eedabe3487193e29b0fe5f29a8d30dc314026cc (patch)
treeb0f415fe594ee348b2acc52483a7f93ab0640b36 /surf.c
parent432f45a85213a78da207c63890ed7f85afff5478 (diff)
downloadsurf-9eedabe3487193e29b0fe5f29a8d30dc314026cc.tar.gz
surf-9eedabe3487193e29b0fe5f29a8d30dc314026cc.tar.bz2
surf-9eedabe3487193e29b0fe5f29a8d30dc314026cc.zip
Make surf set the URI atom right on manual URI entering.
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);