about summary refs log tree commit diff
path: root/surf.c
diff options
context:
space:
mode:
authorQuentin Rameau <quinq.ml@gmail.com>2014-02-05 17:03:56 +0100
committerChristoph Lohmann <20h@r-36.net>2014-02-05 20:17:35 +0100
commitb7435badc2558dfd9b177005a0884b9bbc12fa1e (patch)
tree5810fc60de37e8ad6de458037a7e60ec1679a3c8 /surf.c
parentKeep cookie policies for new windows (diff)
downloadsurf-b7435badc2558dfd9b177005a0884b9bbc12fa1e.tar.gz
surf-b7435badc2558dfd9b177005a0884b9bbc12fa1e.tar.bz2
surf-b7435badc2558dfd9b177005a0884b9bbc12fa1e.zip
Draw flags on window creation
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/surf.c b/surf.c
index ba01958..0298ed3 100644
--- 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;