summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2018-03-12 12:01:16 -0700
committerKeith Packard <keithp@keithp.com>2018-03-14 10:18:29 -0700
commit55c7baa5e992a1c661b235acf84eb710cdb61bcc (patch)
tree3af06aa7ec20c16e4370c843b8c9b6144828efb6
parent94228cde97d9aecfda04a8e699d462ba2b89e3a0 (diff)
downloadxcb-proto-55c7baa5e992a1c661b235acf84eb710cdb61bcc.tar.gz
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>
-rw-r--r--src/screensaver.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/screensaver.xml b/src/screensaver.xml
index 8d5abb4..c546f94 100644
--- a/src/screensaver.xml
+++ b/src/screensaver.xml
@@ -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 -->