summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-05 21:35:14 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-07-05 21:40:07 -0700
commit01adc331604d77e71a42a77619560b59d7a53d26 (patch)
tree18acf319bb5c11624c3654e3348c96eed6f9d1f0
parent980ed7e7c98606f09e981a52255acd76b335a19a (diff)
Add XF86VidModeAddModeLine man page
The function was actually already described in the man page, and even had a commented out prototype in the man page until it was removed by the cleanup in commit aac92ef0f20f8. So this commit restores the prototype (but doesn't comment it out as before), adds the function to the NAME section, and adds a .so for it. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--man/Makefile.am1
-rw-r--r--man/XF86VM.man12
2 files changed, 8 insertions, 5 deletions
diff --git a/man/Makefile.am b/man/Makefile.am
index 89d3172..bd88ffc 100644
--- a/man/Makefile.am
+++ b/man/Makefile.am
@@ -32,6 +32,7 @@ XF86VM_shadows = \
XF86VidModeQueryVersion \
XF86VidModeGetModeLine \
XF86VidModeGetAllModeLines \
+ XF86VidModeAddModeLine \
XF86VidModeDeleteModeLine \
XF86VidModeModModeLine \
XF86VidModeSwitchMode \
diff --git a/man/XF86VM.man b/man/XF86VM.man
index fabc4f4..aa03da1 100644
--- a/man/XF86VM.man
+++ b/man/XF86VM.man
@@ -19,7 +19,7 @@
..
.TH XF86VIDMODE __libmansuffix__ __vendorversion__
.SH NAME
-XF86VidModeQueryExtension, XF86VidModeQueryVersion, XF86VidModeSetClientVersion, XF86VidModeGetModeLine, XF86VidModeGetAllModeLines, XF86VidModeDeleteModeLine, XF86VidModeModModeLine, XF86VidModeValidateModeLine, XF86VidModeSwitchMode, XF86VidModeSwitchToMode, XF86VidModeLockModeSwitch, XF86VidModeGetMonitor, XF86VidModeGetViewPort, XF86VidModeSetViewPort, XF86VidModeGetDotClocks, XF86VidModeGetGamma, XF86VidModeSetGamma, XF86VidModeGetGammaRamp, XF86VidModeSetGammaRamp, XF86VidModeGetGammaRampSize, XF86VidModeGetPermissions \- Extension library for the XFree86-VidMode X extension
+XF86VidModeQueryExtension, XF86VidModeQueryVersion, XF86VidModeSetClientVersion, XF86VidModeGetModeLine, XF86VidModeGetAllModeLines, XF86VidModeAddModeLine, XF86VidModeDeleteModeLine, XF86VidModeModModeLine, XF86VidModeValidateModeLine, XF86VidModeSwitchMode, XF86VidModeSwitchToMode, XF86VidModeLockModeSwitch, XF86VidModeGetMonitor, XF86VidModeGetViewPort, XF86VidModeSetViewPort, XF86VidModeGetDotClocks, XF86VidModeGetGamma, XF86VidModeSetGamma, XF86VidModeGetGammaRamp, XF86VidModeSetGammaRamp, XF86VidModeGetGammaRampSize, XF86VidModeGetPermissions \- Extension library for the XFree86-VidMode X extension
.SH SYNOPSIS
.nf
@@ -50,6 +50,12 @@ Bool XF86VidModeGetAllModeLines(
int *\fImodecount_return\fP\^,
XF86VidModeModeInfo ***\fImodesinfo\fP\^);
+Bool XF86VidModeAddModeLine(
+ Display *\fIdisplay\fP\^,
+ int \fIscreen\fP\^,
+ XF86VidModeModeInfo *\fImodeline\fP\,
+ XF86VidModeModeInfo *\fIaftermode\fP\^);
+
Bool XF86VidModeDeleteModeLine(
Display *\fIdisplay\fP\^,
int \fIscreen\fP\^,
@@ -160,11 +166,9 @@ the next mode, otherwise switch to the previous mode.
Indicates that mode switching should be locked, if non-zero.
.IP \fImodeline\fP 2i
Specifies or returns the timing values for a video mode.
-.ig
.IP \fIaftermode\fP 2i
Specifies the timing values for the video mode after which the
new mode will added.
-..
.IP \fImodesinfo\fP 2i
Returns the timing values and dotclocks for all of the available
video modes.
@@ -287,7 +291,6 @@ function can be used to change the settings of the current video mode
provided the requested settings are valid (e.g. they don't exceed the
capabilities of the monitor).
.PP
-.ig
To add a mode to the list of available modes, the
.ZN XF86VidModeAddModeLine
function can be used.
@@ -307,7 +310,6 @@ If the
parameter is zero, the mode will be added
after the current mode.
.PP
-..
Modes can be deleted with the
.ZN XF86VidModeDeleteModeLine
function. The specified mode must match an existing mode.