aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/include/extensions
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2017-10-21 01:47:40 +0200
committerMihai Moldovan <ionic@ionic.de>2018-02-07 23:15:57 +0100
commit4ab18725cd088cbb401ef63e93ef41d8d7c78b2a (patch)
treed55148c500dde99d2f178e23466af8d18d72e4ee /nx-X11/include/extensions
parentcbdae3b71bfc654cfc0c81b1ddf51975bcb93146 (diff)
downloadnx-libs-4ab18725cd088cbb401ef63e93ef41d8d7c78b2a.tar.gz
nx-libs-4ab18725cd088cbb401ef63e93ef41d8d7c78b2a.tar.bz2
nx-libs-4ab18725cd088cbb401ef63e93ef41d8d7c78b2a.zip
Xext: lift screensaver extension to XORG-7_1 state
Diffstat (limited to 'nx-X11/include/extensions')
-rw-r--r--nx-X11/include/extensions/saver.h4
-rw-r--r--nx-X11/include/extensions/saverproto.h13
2 files changed, 11 insertions, 6 deletions
diff --git a/nx-X11/include/extensions/saver.h b/nx-X11/include/extensions/saver.h
index ea35454b7..e8da62560 100644
--- a/nx-X11/include/extensions/saver.h
+++ b/nx-X11/include/extensions/saver.h
@@ -1,6 +1,4 @@
/*
- * $XConsortium: saver.h,v 1.5 94/04/17 20:59:33 rws Exp $
- *
Copyright (c) 1992 X Consortium
Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -37,7 +35,7 @@ in this Software without prior written authorization from the X Consortium.
#define ScreenSaverCycleMask 0x00000002
#define ScreenSaverMajorVersion 1
-#define ScreenSaverMinorVersion 0
+#define ScreenSaverMinorVersion 1
#define ScreenSaverOff 0
#define ScreenSaverOn 1
diff --git a/nx-X11/include/extensions/saverproto.h b/nx-X11/include/extensions/saverproto.h
index 17f740f4d..43b168b7f 100644
--- a/nx-X11/include/extensions/saverproto.h
+++ b/nx-X11/include/extensions/saverproto.h
@@ -1,6 +1,4 @@
/*
- * $XConsortium: saverproto.h,v 1.5 94/04/17 20:59:33 keith Exp $
- *
Copyright (c) 1992 X Consortium
Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -26,7 +24,6 @@ in this Software without prior written authorization from the X Consortium.
*
* Author: Keith Packard, MIT X Consortium
*/
-/* $XFree86$ */
#ifndef _SAVERPROTO_H_
#define _SAVERPROTO_H_
@@ -136,6 +133,16 @@ typedef struct _ScreenSaverUnsetAttributes {
} xScreenSaverUnsetAttributesReq;
#define sz_xScreenSaverUnsetAttributesReq 8
+#define X_ScreenSaverSuspend 5
+
+typedef struct _ScreenSaverSuspend {
+ CARD8 reqType;
+ CARD8 saverReqType;
+ CARD16 length B16;
+ Bool suspend B32;
+} xScreenSaverSuspendReq;
+#define sz_xScreenSaverSuspendReq 8
+
typedef struct _ScreenSaverNotify {
CARD8 type; /* always eventBase + ScreenSaverNotify */
BYTE state; /* off, on, cycle */