screensaver: Use CARD32 encoding for ScreenSaverSuspend 'suspend'

This was set to BOOL, but the protocol headers used Bool, presumably a
32-bit type. We're switching everything to CARD32 as the best option
for compatibility.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Mihai Moldovan <ionic@ionic.de>
This commit is contained in:
Keith Packard 2018-03-12 12:01:16 -07:00
parent 94228cde97
commit 55c7baa5e9

View file

@ -168,8 +168,7 @@ Draft Standard Version 1.1
<!-- version 1.1 -->
<request name="Suspend" opcode="5">
<field type="BOOL" name="suspend" />
<pad bytes="3" />
<field type="CARD32" name="suspend" />
</request>
<!-- Events -->