]> Skullheadx's Git Forge - surf.git/commitdiff
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 d970f7f4f1315211d065e10f99c70f0cda55a905..f0be24be464b50358fdb836334776fa8cc601dbc 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);