mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-05-05 14:38:11 +02:00
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 <keithp@keithp.com> Reviewed-by: Mihai Moldovan <ionic@ionic.de>
This commit is contained in:
parent
bac7b0b421
commit
702d2eaecd
2 changed files with 2 additions and 2 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue