Add fullscreen mode as flag and config option.

This commit is contained in:
Christoph Lohmann
2013-08-25 19:50:40 +02:00
parent 058f7f45e2
commit 237e10058a
3 changed files with 13 additions and 1 deletions
+8
View File
@@ -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;