summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2013-08-31 20:00:41 +0200
committerChristoph Lohmann <20h@r-36.net>2013-08-31 20:00:41 +0200
commitf3d97922e9f513dba3107559deec8c04ad4461e1 (patch)
tree0df34965589640c8d02ce618d19375f2e848d0e1 /surf.c
parent237e10058aaceca4660259d3948662a1e0b79cfb (diff)
downloadsurf-f3d97922e9f513dba3107559deec8c04ad4461e1.tar.gz
surf-f3d97922e9f513dba3107559deec8c04ad4461e1.tar.bz2
surf-f3d97922e9f513dba3107559deec8c04ad4461e1.zip
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 (limited to 'surf.c')
-rw-r--r--surf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/surf.c b/surf.c
index 42bc393..dfcd787 100644
--- a/surf.c
+++ b/surf.c
@@ -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));
}
@@ -1326,6 +1327,9 @@ main(int argc, char *argv[]) {
case 'f':
runinfullscreen = 1;
break;
+ case 'F':
+ runinfullscreen = 0;
+ break;
case 'g':
allowgeolocation = 0;
break;