pinosaur
/
surf.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add fullscreen mode as flag and config option.
[surf.git]
/
surf.c
diff --git
a/surf.c
b/surf.c
index
fb5833d
..
42bc393
100644
(file)
--- a/
surf.c
+++ b/
surf.c
@@
-833,6
+833,11
@@
newclient(void) {
c->isinspecting = false;
}
c->isinspecting = false;
}
+ if(runinfullscreen) {
+ c->fullscreen = 0;
+ fullscreen(c, NULL);
+ }
+
g_free(uri);
setatom(c, AtomFind, "");
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 'e':
embed = strtol(EARGF(usage()), NULL, 0);
break;
+ case 'f':
+ runinfullscreen = 1;
+ break;
case 'g':
allowgeolocation = 0;
break;
case 'g':
allowgeolocation = 0;
break;