Index: xc/ChangeLog =================================================================== RCS file: /cvs/xorg/xc/ChangeLog,v retrieving revision 1.580 diff -u -2 -0 -r1.580 ChangeLog --- xc/ChangeLog 6 Dec 2004 21:54:19 -0000 1.580 +++ xc/ChangeLog 7 Dec 2004 23:29:46 -0000 @@ -1,20 +1,28 @@ +2004-12-07 Roland Mainz + * xc/include/extensions/dpms.h + Bugzilla #830 (https://bugs.freedesktop.org/show_bug.cgi?id=830): + Get DPMS header file (include/extensions/dpms.h) working with C++ + applications. + Patch by Kevin DeKorte and Roland + Mainz . + 2004-12-06 Matthieu Herrb * programs/Xserver/hw/xfree86/common/Imakefile: xf86Config.c references USE_DEPRECATED_KEYBOARD_DRIVER so define it if needed when building this file * programs/Xserver/hw/xfree86/common/xf86config.c: - bug fix: pointerMsg -> keyboardMsg in auto-configuration code. - make the 'kbd' driver the default for autoconfiguration everywhere. * programs/Xserver/hw/xfree86/input/keyboard/kbd.c: Previous fix broke hardware-based autorepeat. This fix mimics the behaviour of the legacy driver by making a local copy of the autoRepeat flag. 2004-12-06 Kevin E. Martin * lib/dmx/dmx.c: (DMXAddScreen), (DMXAddInput): Fix overwrite in DMX library calls (Bug #1989, Mark McLoughlin). 2004-12-06 Alexander Gottwald Index: xc/include/extensions/dpms.h =================================================================== RCS file: /cvs/xorg/xc/include/extensions/dpms.h,v retrieving revision 1.2 diff -u -2 -0 -r1.2 dpms.h --- xc/include/extensions/dpms.h 23 Apr 2004 18:43:06 -0000 1.2 +++ xc/include/extensions/dpms.h 7 Dec 2004 23:30:00 -0000 @@ -11,50 +11,57 @@ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL DIGITAL EQUIPMENT CORPORATION BE LIABLE FOR ANY CLAIM, DAMAGES, INCLUDING, BUT NOT LIMITED TO CONSEQUENTIAL OR INCIDENTAL DAMAGES, OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Except as contained in this notice, the name of Digital Equipment Corporation shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from Digital Equipment Corporation. ******************************************************************/ /* $XFree86: xc/include/extensions/dpms.h,v 3.4 2000/03/15 16:51:51 tsi Exp $ */ +#ifndef _X11_EXTENSIONS_DPMS_H +#define _X11_EXTENSIONS_DPMS_H 1 + /* * HISTORY */ /* * @(#)RCSfile: dpms.h,v Revision: 1.1.4.2 (DEC) Date: 1995/11/21 19:34:17 */ #define DPMSModeOn 0 #define DPMSModeStandby 1 #define DPMSModeSuspend 2 #define DPMSModeOff 3 #ifndef DPMS_SERVER #include #include +_XFUNCPROTOBEGIN + extern Bool DPMSQueryExtension(Display *, int *, int *); extern Status DPMSGetVersion(Display *, int *, int *); extern Bool DPMSCapable(Display *); extern Status DPMSSetTimeouts(Display *, CARD16, CARD16, CARD16); extern Bool DPMSGetTimeouts(Display *, CARD16 *, CARD16 *, CARD16 *); extern Status DPMSEnable(Display *); extern Status DPMSDisable(Display *); extern Status DPMSForceLevel(Display *, CARD16); extern Status DPMSInfo(Display *, CARD16 *, BOOL *); -#endif +_XFUNCPROTOEND +#endif /* !DPMS_SERVER */ +#endif /* !_X11_EXTENSIONS_DPMS_H */