Draw flags on window creation
authorQuentin Rameau <quinq.ml@gmail.com>
Wed, 5 Feb 2014 16:03:56 +0000 (17:03 +0100)
committerChristoph Lohmann <20h@r-36.net>
Wed, 5 Feb 2014 19:17:35 +0000 (20:17 +0100)
Signed-off-by: Christoph Lohmann <20h@r-36.net>
surf.c

diff --git a/surf.c b/surf.c
index ba01958..0298ed3 100644 (file)
--- a/surf.c
+++ b/surf.c
@@ -890,7 +890,9 @@ newclient(void) {
        if(hidebackground)
                webkit_web_view_set_transparent(c->view, TRUE);
 
-       c->title = NULL;
+       c->title = "";
+       c->progress = 100;
+       updatetitle(c);
        c->next = clients;
        clients = c;