tMake surf set the URI atom right on manual URI entering. - surf - customized b… | |
git clone git://src.adamsgaard.dk/surf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 9eedabe3487193e29b0fe5f29a8d30dc314026cc | |
parent 432f45a85213a78da207c63890ed7f85afff5478 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Mon, 13 Jan 2014 17:58:45 +0100 | |
Make surf set the URI atom right on manual URI entering. | |
Diffstat: | |
M surf.c | 2 ++ | |
1 file changed, 2 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/surf.c b/surf.c | |
t@@ -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); |