Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Document --window-id option.

  • Loading branch information...
commit 118001f01dbcdba8e32a329a93227616e14e930e 1 parent df27e62
@acaudwell authored
View
3  README
@@ -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
3  data/gource.1
@@ -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
View
3  src/gource_settings.cpp
@@ -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");
View
1  src/gource_settings.h
@@ -27,6 +27,7 @@
#include "bzr.h"
#include "cvs-exp.h"
+#include "core/display.h"
#include "core/settings.h"
#include "core/regex.h"
Please sign in to comment.
Something went wrong with that request. Please try again.