X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=surf.c;h=42bc393b600990835affa413a091676c03cffa3a;hp=fb5833d3a37e07bf11ba32cbd36311a2fba61a76;hb=237e10058aaceca4660259d3948662a1e0b79cfb;hpb=058f7f45e2dd04363bf4f57982f633ddd5b7f16a 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;