summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/surf.c b/surf.c
index fb5833d..42bc393 100644
--- a/surf.c
+++ b/surf.c
@@ -833,6 +833,11 @@ newclient(void) {
c->isinspecting = false;
}
+ if(runinfullscreen) {
+ c->fullscreen = 0;
+ fullscreen(c, NULL);
+ }
+
g_free(uri);
setatom(c, AtomFind, "");
@@ -1318,6 +1323,9 @@ main(int argc, char *argv[]) {
case 'e':
embed = strtol(EARGF(usage()), NULL, 0);
break;
+ case 'f':
+ runinfullscreen = 1;
+ break;
case 'g':
allowgeolocation = 0;
break;