Make surf set the URI atom right on manual URI entering.
This commit is contained in:
parent
432f45a852
commit
9eedabe348
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 New Issue