summaryrefslogtreecommitdiff
path: root/lib/libxcb/src/screensaver.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libxcb/src/screensaver.h')
-rw-r--r--lib/libxcb/src/screensaver.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libxcb/src/screensaver.h b/lib/libxcb/src/screensaver.h
index 1982f21e5..f6982ea00 100644
--- a/lib/libxcb/src/screensaver.h
+++ b/lib/libxcb/src/screensaver.h
@@ -193,8 +193,7 @@ typedef struct xcb_screensaver_suspend_request_t {
uint8_t major_opcode;
uint8_t minor_opcode;
uint16_t length;
- uint8_t suspend;
- uint8_t pad0[3];
+ uint32_t suspend;
} xcb_screensaver_suspend_request_t;
/** Opcode for xcb_screensaver_notify. */
@@ -492,7 +491,7 @@ xcb_screensaver_unset_attributes (xcb_connection_t *c,
*/
xcb_void_cookie_t
xcb_screensaver_suspend_checked (xcb_connection_t *c,
- uint8_t suspend);
+ uint32_t suspend);
/**
*
@@ -504,7 +503,7 @@ xcb_screensaver_suspend_checked (xcb_connection_t *c,
*/
xcb_void_cookie_t
xcb_screensaver_suspend (xcb_connection_t *c,
- uint8_t suspend);
+ uint32_t suspend);
#ifdef __cplusplus