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.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user