Introduction
Introduction Statistics Contact Development Disclaimer Help
tAdd a flag to disable fullscreen. - surf - customized build of surf, the suckl…
git clone git://src.adamsgaard.dk/surf
Log
Files
Refs
README
LICENSE
---
commit f3d97922e9f513dba3107559deec8c04ad4461e1
parent 237e10058aaceca4660259d3948662a1e0b79cfb
Author: Christoph Lohmann <[email protected]>
Date: Sat, 31 Aug 2013 20:00:41 +0200
Add a flag to disable fullscreen.
This also updates the usage of surf to represent the current status.
Thanks Alexander Sedov for the suggestion, but you forgot the manpage
entry so I did this patch.
Diffstat:
M surf.1 | 5 ++++-
M surf.c | 6 +++++-
2 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/surf.1 b/surf.1
t@@ -3,7 +3,7 @@
surf \- simple webkit-based browser
.SH SYNOPSIS
.B surf
-.RB [-bBfgGiIkKnNpPsSvx]
+.RB [-bBfFgGiIkKnNpPsSvx]
.RB [-c\ cookiefile]
.RB [-e\ xid]
.RB [-r\ scriptfile]
t@@ -35,6 +35,9 @@ Reparents to window specified by
.B \-f
Run surf in fullscreen mode.
.TP
+.B \-F
+Disable to run in fullscreen by default.
+.TP
.B \-g
Disable giving the geolocation to websites.
.TP
diff --git a/surf.c b/surf.c
t@@ -1277,7 +1277,8 @@ updatewinid(Client *c) {
static void
usage(void) {
- die("usage: %s [-biknpsvx] [-c cookiefile] [-e xid] [-r scriptfile]"
+ die("usage: %s [-bBfFgGiIkKnNpPsSvx]"
+ " [-c cookiefile] [-e xid] [-r scriptfile]"
" [-t stylefile] [-u useragent] [uri]\n", basename(argv0));
}
t@@ -1326,6 +1327,9 @@ main(int argc, char *argv[]) {
case 'f':
runinfullscreen = 1;
break;
+ case 'F':
+ runinfullscreen = 0;
+ break;
case 'g':
allowgeolocation = 0;
break;
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.