Commit 702d2eae authored by Keith Packard's avatar Keith Packard

screensaver: Fix encoding of ScreenSaverSuspend 'suspend' element

Was using Bool, which is not a defined X protocol encoding type and
has presumably been a 32-bit type. Switch to a CARD32 to be compatible
while at least being well defined.
Signed-off-by: Keith Packard's avatarKeith Packard <keithp@keithp.com>
Reviewed-by: default avatarMihai Moldovan <ionic@ionic.de>
parent bac7b0b4
......@@ -139,7 +139,7 @@ typedef struct _ScreenSaverSuspend {
CARD8 reqType;
CARD8 saverReqType;
CARD16 length B16;
Bool suspend B32;
CARD32 suspend B32; /* a boolean, but using the wrong encoding */
} xScreenSaverSuspendReq;
#define sz_xScreenSaverSuspendReq 8
......
......@@ -5,5 +5,5 @@ includedir=@includedir@
Name: ScrnSaverProto
Description: ScrnSaver extension headers
Version: 1.2.2
Version: 1.2.3
Cflags: -I${includedir}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment