aboutsummaryrefslogtreecommitdiffstats
path: root/vnc-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'vnc-client.c')
-rw-r--r--vnc-client.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/vnc-client.c b/vnc-client.c
index 331fc86..56599f6 100644
--- a/vnc-client.c
+++ b/vnc-client.c
@@ -26,6 +26,7 @@ static void usage(FILE *fp)
" -d Enable debug output.\n"
" -u Send us kbd layout keysyms.\n"
" -p Show mouse pointer.\n"
+ " -f Start in fullscreen mode.\n"
" -g Enable OpenGL for fullscreen mode.\n"
" -G Enable OpenGL unconditionally.\n"
" -o View only.\n"
@@ -45,7 +46,7 @@ main(int argc, char *argv[])
gtk_init(&argc, &argv);
for (;;) {
- if (-1 == (c = getopt(argc, argv, "hdupgGo")))
+ if (-1 == (c = getopt(argc, argv, "hdupfgGo")))
break;
switch (c) {
case 'd':
@@ -66,6 +67,9 @@ main(int argc, char *argv[])
case 'G':
vnc_flags |= VNC_FLAG_GL_ALLWAYS;
break;
+ case 'f':
+ vnc_flags |= VNC_FLAG_FULLSCREEN;
+ break;
case 'h':
usage(stdout);
exit(0);