Make surf set the URI atom right on manual URI entering.
This commit is contained in:
parent
432f45a852
commit
9eedabe348
1 changed files with 2 additions and 0 deletions
2
surf.c
2
surf.c
|
@ -635,6 +635,8 @@ loaduri(Client *c, const Arg *arg) {
|
||||||
: g_strdup_printf("http://%s", uri);
|
: g_strdup_printf("http://%s", uri);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
setatom(c, AtomUri, uri);
|
||||||
|
|
||||||
/* prevents endless loop */
|
/* prevents endless loop */
|
||||||
if(strcmp(u, geturi(c)) == 0) {
|
if(strcmp(u, geturi(c)) == 0) {
|
||||||
reload(c, &a);
|
reload(c, &a);
|
||||||
|
|
Loading…
Reference in a new issue