diff --git a/src/backend/xrender.c b/src/backend/xrender.c index 3182147..db28bca 100644 --- a/src/backend/xrender.c +++ b/src/backend/xrender.c @@ -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); diff --git a/src/x.h b/src/x.h index b725548..3eb2252 100644 --- a/src/x.h +++ b/src/x.h @@ -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,