Permalink
Browse files

Document --window-id option.

  • Loading branch information...
1 parent df27e62 commit 118001f01dbcdba8e32a329a93227616e14e930e @acaudwell committed Aug 31, 2010
Showing with 10 additions and 0 deletions.
  1. +3 −0 README
  2. +3 −0 data/gource.1
  3. +3 −0 src/gource_settings.cpp
  4. +1 −0 src/gource_settings.h
View
@@ -45,6 +45,9 @@ options:
Set the viewport size. If -f is also supplied, will attempt to set
the video mode to this also.
+ --window-id WINDOW_ID
+ Set the window to use (X Windows).
+
-f, --fullscreen
Fullscreen.
View
@@ -19,6 +19,9 @@ Help ('\fB-H\fR' for extended help).
\fB\-WIDTHxHEIGHT, \-\-viewport WIDTHxHEIGHT\fR
Set the viewport size. If \-f is also supplied, will attempt to set the video mode to this also.
.TP
+\fB\-\-window\-id WINDOW_ID\fR
+Set the window to use (X Windows).
+.TP
\fB\-f\fR
Fullscreen
.TP
@@ -36,6 +36,9 @@ void GourceSettings::help(bool extended_help) {
printf(" -h, --help Help\n\n");
printf(" -WIDTHxHEIGHT, --viewport Set viewport size\n");
printf(" -f, --fullscreen Fullscreen\n");
+#ifdef SDLAPP_XWINDOWS
+ printf(" --window-id WINDOW_ID Set the window to use\n");
+#endif
printf(" --multi-sampling Enable multi-sampling\n\n");
printf(" -p, --start-position POSITION Begin at some position (0.0-1.0 or 'random')\n");
@@ -27,6 +27,7 @@
#include "bzr.h"
#include "cvs-exp.h"
+#include "core/display.h"
#include "core/settings.h"
#include "core/regex.h"

0 comments on commit 118001f

Please sign in to comment.