[hackers] [surf] Make surf set the URI atom right on manual URI entering. || Christoph Lohmann

From: <git_AT_suckless.org>
Date: Mon, 13 Jan 2014 18:00:24 +0100

commit 9eedabe3487193e29b0fe5f29a8d30dc314026cc
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Mon Jan 13 17:58:45 2014 +0100

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

diff --git a/surf.c b/surf.c
index d970f7f..f0be24b 100644
--- a/surf.c
+++ b/surf.c
_AT_@ -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);
Received on Mon Jan 13 2014 - 18:00:24 CET

This archive was generated by hypermail 2.3.0 : Mon Jan 13 2014 - 18:12:16 CET