[Xcb-commit] xcb/proto: src
Keith Packard
keithp at kemper.freedesktop.org
Wed Mar 14 17:19:07 UTC 2018
src/screensaver.xml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 55c7baa5e992a1c661b235acf84eb710cdb61bcc
Author: Keith Packard <keithp at keithp.com>
Date: Mon Mar 12 12:01:16 2018 -0700
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 at keithp.com>
Reviewed-by: Mihai Moldovan <ionic at ionic.de>
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 -->
More information about the xcb-commit
mailing list