Make surf set the URI atom right on manual URI entering.
authorChristoph Lohmann <20h@r-36.net>
Mon, 13 Jan 2014 16:58:45 +0000 (17:58 +0100)
committerChristoph Lohmann <20h@r-36.net>
Mon, 13 Jan 2014 16:58:45 +0000 (17:58 +0100)
surf.c

diff --git a/surf.c b/surf.c
index d970f7f..f0be24b 100644 (file)
--- 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);