static Bool kioskmode = FALSE; /* Ignore shortcuts */
static Bool showindicators = TRUE; /* Show indicators in window title */
static Bool zoomto96dpi = TRUE; /* Zoom pages to always emulate 96dpi */
+static Bool runinfullscreen = FALSE; /* Run in fullscreen mode by default */
static guint defaultfontsize = 12;
surf \- simple webkit-based browser
.SH SYNOPSIS
.B surf
-.RB [-bBgGiIkKnNpPsSvx]
+.RB [-bBfgGiIkKnNpPsSvx]
.RB [-c\ cookiefile]
.RB [-e\ xid]
.RB [-r\ scriptfile]
Reparents to window specified by
.I xid.
.TP
+.B \-f
+Run surf in fullscreen mode.
+.TP
.B \-g
Disable giving the geolocation to websites.
.TP
c->isinspecting = false;
}
+ if(runinfullscreen) {
+ c->fullscreen = 0;
+ fullscreen(c, NULL);
+ }
+
g_free(uri);
setatom(c, AtomFind, "");
case 'e':
embed = strtol(EARGF(usage()), NULL, 0);
break;
+ case 'f':
+ runinfullscreen = 1;
+ break;
case 'g':
allowgeolocation = 0;
break;