diff options
author | Richard Grenville <pyxlcy@gmail.com> | 2013-01-29 07:58:40 +0800 |
---|---|---|
committer | Richard Grenville <pyxlcy@gmail.com> | 2013-01-29 07:58:40 +0800 |
commit | 7c66211746728d94aae2884cc6f096d695e3ce39 (patch) | |
tree | bc3955f7c93f3707d19045696b3d88ec2a2df186 /compton.c | |
parent | 679bfe3cab740f06b38f606d599304f515b9de4d (diff) | |
parent | 370fc4599795a4a67cd69625ad83715e4e360046 (diff) | |
download | tdebase-7c66211746728d94aae2884cc6f096d695e3ce39.tar.gz tdebase-7c66211746728d94aae2884cc6f096d695e3ce39.zip |
Merge branch 'master' into richardgv-dev
Conflicts:
src/compton.c
Diffstat (limited to 'compton.c')
-rw-r--r-- | compton.c | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -3822,13 +3822,17 @@ usage(void) { " Specify refresh rate of the screen. If not specified or 0, compton\n" " will try detecting this with X RandR extension.\n" "--vsync vsync-method\n" - " Set VSync method. There are 2 VSync methods currently available:\n" + " Set VSync method. There are up to 2 VSync methods currently available\n" + " depending on your compile time settings:\n" " none = No VSync\n" +#ifdef CONFIG_VSYNC_DRM " drm = VSync with DRM_IOCTL_WAIT_VBLANK. May only work on some\n" " drivers. Experimental.\n" +#endif +#ifdef CONFIG_VSYNC_OPENGL " opengl = Try to VSync with SGI_swap_control OpenGL extension. Only\n" " work on some drivers. Experimental.\n" - " (Note some VSync methods may not be enabled at compile time.)\n" +#endif "--alpha-step val\n" " Step for pregenerating alpha pictures. 0.01 - 1.0. Defaults to\n" " 0.03.\n" @@ -3879,9 +3883,12 @@ usage(void) { "--invert-color-include condition\n" " Specify a list of conditions of windows that should be painted with\n" " inverted color. Resource-hogging, and is not well tested.\n" +#ifdef CONFIG_DBUS "--dbus\n" " Enable remote control via D-Bus. See the D-BUS API section in the\n" - " man page for more details.\n"; + " man page for more details.\n" +#endif + ; fputs(usage_text , stderr); exit(1); |