Make surf set the URI atom right on manual URI entering.

This commit is contained in:
Christoph Lohmann 2014-01-13 17:58:45 +01:00
parent 432f45a852
commit 9eedabe348
1 changed files with 2 additions and 0 deletions

2
surf.c
View File

@ -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);