diff options
author | Mihai Moldovan <ionic@ionic.de> | 2018-02-07 23:19:33 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2018-02-07 23:19:33 +0100 |
commit | aecdb52661898d0ba400a61550fa6ce9c0a4d829 (patch) | |
tree | f3c82763aa3f6c19da425e75c5c37dae228f38b4 /nx-X11/include/extensions/saverproto.h | |
parent | cbdae3b71bfc654cfc0c81b1ddf51975bcb93146 (diff) | |
parent | 5ec2366c40a540245be4a643fcf740fb16bcec50 (diff) | |
download | nx-libs-aecdb52661898d0ba400a61550fa6ce9c0a4d829.tar.gz nx-libs-aecdb52661898d0ba400a61550fa6ce9c0a4d829.tar.bz2 nx-libs-aecdb52661898d0ba400a61550fa6ce9c0a4d829.zip |
Merge branch 'uli42-pr/update_xext' into 3.6.x
Attributes GH PR #643: https://github.com/ArcticaProject/nx-libs/pull/643
Diffstat (limited to 'nx-X11/include/extensions/saverproto.h')
-rw-r--r-- | nx-X11/include/extensions/saverproto.h | 13 |
1 files changed, 10 insertions, 3 deletions
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 */ |