steamcompmgr documentation fix.

This commit is contained in:
Pierre-Loup Griffais 2014-12-18 12:57:34 -08:00 committed by Pierre-Loup A. Griffais
parent 7c401cd538
commit d740313b06
2 changed files with 12 additions and 15 deletions

7
debian/changelog vendored
View file

@ -1,3 +1,10 @@
steamos-compositor (1.25) alchemist; urgency=medium
* Fix commandline argument descriptions and getopt call to match actual behavior.
Thanks to Wouter Wijsman for the fix!
-- Pierre-Loup A. Griffais <pgriffais@valvesoftware.com> Thu, 18 Dec 2014 12:51:54 -0800
steamos-compositor (1.24) alchemist; urgency=medium
* Fix an issue where XCOM wouldn't focus on startup.

View file

@ -1657,21 +1657,11 @@ usage (char *program)
fprintf (stderr, "usage: %s [options]\n", program);
fprintf (stderr, "Options\n");
fprintf (stderr, " -d display\n Specifies which display should be managed.\n");
fprintf (stderr, " -r radius\n Specifies the blur radius for client-side shadows. (default 12)\n");
fprintf (stderr, " -o opacity\n Specifies the translucency for client-side shadows. (default .75)\n");
fprintf (stderr, " -l left-offset\n Specifies the left offset for client-side shadows. (default -15)\n");
fprintf (stderr, " -t top-offset\n Specifies the top offset for clinet-side shadows. (default -15)\n");
fprintf (stderr, " -I fade-in-step\n Specifies the opacity change between steps while fading in. (default 0.028)\n");
fprintf (stderr, " -O fade-out-step\n Specifies the opacity change between steps while fading out. (default 0.03)\n");
fprintf (stderr, " -D fade-delta-time\n Specifies the time between steps in a fade in milliseconds. (default 10)\n");
fprintf (stderr, " -a\n Use automatic server-side compositing. Faster, but no special effects.\n");
fprintf (stderr, " -c\n Draw client-side shadows with fuzzy edges.\n");
fprintf (stderr, " -C\n Avoid drawing shadows on dock/panel windows.\n");
fprintf (stderr, " -f\n Fade windows in/out when opening/closing.\n");
fprintf (stderr, " -F\n Fade windows during opacity changes.\n");
fprintf (stderr, " -n\n Normal client-side compositing with transparency support\n");
fprintf (stderr, " -s\n Draw server-side shadows with sharp edges.\n");
fprintf (stderr, " -n\n Don't perform any redirection or compositing.\n");
fprintf (stderr, " -S\n Enable synchronous operation (for debugging).\n");
fprintf (stderr, " -v\n Display debug information on screen.\n");
fprintf (stderr, " -V\n Log events to standard output.\n");
fprintf (stderr, " -u\n Allow unredirection of windows.\n");
exit (1);
}
@ -1761,7 +1751,7 @@ main (int argc, char **argv)
char *display = NULL;
int o;
while ((o = getopt (argc, argv, "D:I:O:d:r:o:l:t:scnufFCaSvV")) != -1)
while ((o = getopt (argc, argv, "d:nuSvV")) != -1)
{
switch (o) {
case 'd':