Fix build

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2019-02-27 06:33:30 +00:00
parent 26214f312f
commit 11c8655206
No known key found for this signature in database
GPG Key ID: 37C999F617EA1A47
2 changed files with 2 additions and 2 deletions

View File

@ -539,7 +539,7 @@ static void present(void *backend_data, session_t *ps) {
ps->c, xcb_present_pixmap_checked(
ps->c, xd->target_win, xd->back_pixmap[xd->curr_back], 0,
XCB_NONE, XCB_NONE, 0, 0, XCB_NONE, XCB_NONE, XCB_NONE,
XCB_PRESENT_OPTION_SUBOPTIMAL, 0, 0, 0, 0, NULL));
0, 0, 0, 0, 0, NULL));
if (e) {
log_error("Failed to present pixmap");
free(e);

View File

@ -122,7 +122,7 @@ x_create_picture_with_standard_and_pixmap(xcb_connection_t *, xcb_pict_standard_
/**
* Create an picture.
*/
xcb_render_picture_t attr_nonnull(1, 4)
xcb_render_picture_t attr_nonnull(1, 5)
x_create_picture_with_pictfmt(xcb_connection_t *, xcb_drawable_t, int wid, int hei,
const xcb_render_pictforminfo_t *pictfmt,
unsigned long valuemask,