tMake surf set the URI atom right on manual URI entering. - surf - customized build of surf, the suckless webkit browser
(HTM) git clone git://src.adamsgaard.dk/surf
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 9eedabe3487193e29b0fe5f29a8d30dc314026cc
(DIR) parent 432f45a85213a78da207c63890ed7f85afff5478
(HTM) Author: Christoph Lohmann <20h@r-36.net>
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(-)
---
(DIR) 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);