Handle the fullscreen in a more consistent way with other options:
-f disables fullscreen while -F enables fullscreen.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
-Run surf in fullscreen mode.
+Start surf in windowed mode (not fullscreen).
-Disable to run in fullscreen by default.
+Start surf in fullscreen mode.
.TP
.B \-g
Disable giving the geolocation to websites.
.TP
.B \-g
Disable giving the geolocation to websites.
c->isinspecting = false;
}
c->isinspecting = false;
}
- if (runinfullscreen) {
- c->fullscreen = 0;
setatom(c, AtomFind, "");
setatom(c, AtomUri, "about:blank");
setatom(c, AtomFind, "");
setatom(c, AtomUri, "about:blank");
embed = strtol(EARGF(usage()), NULL, 0);
break;
case 'f':
embed = strtol(EARGF(usage()), NULL, 0);
break;
case 'f':
break;
case 'g':
allowgeolocation = 0;
break;
case 'g':
allowgeolocation = 0;