Make surf set the URI atom right on manual URI entering.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user