diff -up surf/config.def.h modsurf/config.def.h --- surf/config.def.h 2010-04-24 20:40:29.000000000 +0100 +++ modsurf/config.def.h 2010-04-24 20:38:46.000000000 +0100 @@ -7,6 +7,7 @@ static char *scriptfile = ".surf/scr static char *cookiefile = ".surf/cookies.txt"; static char *dldir = ".surf/dl/"; static time_t sessiontime = 3600; +static gboolean blackbg = TRUE; #define SETPROP(p) { .v = (char *[]){ "/bin/sh", "-c", \ "prop=\"`xprop -id $1 $0 | cut -d '\"' -f 2 | dmenu`\" &&" \ diff -up surf/surf.c modsurf/surf.c --- surf/surf.c 2010-04-24 20:40:29.000000000 +0100 +++ modsurf/surf.c 2010-04-24 20:39:55.000000000 +0100 @@ -531,6 +531,8 @@ newclient(void) { g_signal_connect(G_OBJECT(c->view), "notify::load-status", G_CALLBACK(loadstatuschange), c); g_signal_connect(G_OBJECT(c->view), "notify::progress", G_CALLBACK(progresschange), c); + webkit_web_view_set_transparent(c->view, blackbg); + /* Indicator */ c->indicator = gtk_drawing_area_new(); gtk_widget_set_size_request(c->indicator, 0, 2);