From fb55131dba79ce0be116406bc694b47c4c529244 Mon Sep 17 00:00:00 2001 From: Kaleb Keithley Date: Wed, 26 Nov 2003 22:48:58 +0000 Subject: merge latest (4.3.99.16) from XFree86 (vendor) branch --- man/XF86VM.man | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/man/XF86VM.man b/man/XF86VM.man index c7d83f2..e14dab5 100644 --- a/man/XF86VM.man +++ b/man/XF86VM.man @@ -4,7 +4,7 @@ .\" .\" .\" Copyright (c) 1996 Joe Moss, The XFree86 Project -.\" $XFree86: xc/programs/Xserver/hw/xfree86/doc/man/XF86VM.man,v 3.12 2002/12/22 00:46:54 dawes Exp $ +.\" $XFree86: xc/programs/Xserver/hw/xfree86/doc/man/XF86VM.man,v 3.14 2003/10/02 13:29:56 eich Exp $ .\" .de ZN .ie t \fB\^\\$1\^\fR\\$2 @@ -216,7 +216,7 @@ typedef struct { typedef struct { char* vendor; /* Name of manufacturer */ char* model; /* Model name */ - float bandwidth; /* Monitor bandwidth */ + float EMPTY; /* unused, for backward compatibility */ unsigned char nhsync; /* Number of horiz sync ranges */ XF86VidModeSyncRange* hsync; /* Horizontal sync ranges */ unsigned char nvsync; /* Number of vert sync ranges */ @@ -349,6 +349,15 @@ the request to switch modes comes from a call to the or .ZN XF86VidModeSwitchToMode functions or from one of the mode switch key sequences. +.PP +.RB Note: +Because of the asynchronous nature of the X protocol, a call to +.ZN XFlush +is needed if the application wants to see the mode change immediately. +To be informed of the execution status of the request, a +custom error handler should be installed using +.ZN XSetErrorHandler +before calling the mode switching function. .SS "MONITOR FUNCTIONS" Information known to the server about the monitor is returned by the .ZN XF86VidModeGetMonitor @@ -410,6 +419,7 @@ XF86VidModeGetPermissions functions need to be documented. In the meantime, check the source code for information about how to use them. .SH SEE ALSO -XFree86(1), XF86Config(__filemansuffix__), xvidtune(1) +XFree86(1), XF86Config(__filemansuffix__), XFlush(3), +XSetErrorHandler(3), xvidtune(1) .SH AUTHORS Kaleb Keithley, Jon Tombs, David Dawes, and Joe Moss -- cgit v1.2.3