From 237e10058aaceca4660259d3948662a1e0b79cfb Mon Sep 17 00:00:00 2001 From: Christoph Lohmann <20h@r-36.net> Date: Sun, 25 Aug 2013 19:50:40 +0200 Subject: Add fullscreen mode as flag and config option. --- surf.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'surf.c') 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; -- cgit v1.2.3