diff options
author | Christoph Lohmann <20h@r-36.net> | 2013-08-25 19:50:40 +0200 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2013-08-25 19:50:40 +0200 |
commit | 237e10058aaceca4660259d3948662a1e0b79cfb (patch) | |
tree | a52a6ae3c17dec8ec84b5c1dd07984680904e52a /surf.c | |
parent | 058f7f45e2dd04363bf4f57982f633ddd5b7f16a (diff) | |
download | surf-237e10058aaceca4660259d3948662a1e0b79cfb.tar.gz surf-237e10058aaceca4660259d3948662a1e0b79cfb.tar.bz2 surf-237e10058aaceca4660259d3948662a1e0b79cfb.zip |
Add fullscreen mode as flag and config option.
Diffstat (limited to 'surf.c')
-rw-r--r-- | surf.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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; |