parent
26214f312f
commit
11c8655206
|
@ -539,7 +539,7 @@ static void present(void *backend_data, session_t *ps) {
|
||||||
ps->c, xcb_present_pixmap_checked(
|
ps->c, xcb_present_pixmap_checked(
|
||||||
ps->c, xd->target_win, xd->back_pixmap[xd->curr_back], 0,
|
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_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) {
|
if (e) {
|
||||||
log_error("Failed to present pixmap");
|
log_error("Failed to present pixmap");
|
||||||
free(e);
|
free(e);
|
||||||
|
|
2
src/x.h
2
src/x.h
|
@ -122,7 +122,7 @@ x_create_picture_with_standard_and_pixmap(xcb_connection_t *, xcb_pict_standard_
|
||||||
/**
|
/**
|
||||||
* Create an picture.
|
* 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,
|
x_create_picture_with_pictfmt(xcb_connection_t *, xcb_drawable_t, int wid, int hei,
|
||||||
const xcb_render_pictforminfo_t *pictfmt,
|
const xcb_render_pictforminfo_t *pictfmt,
|
||||||
unsigned long valuemask,
|
unsigned long valuemask,
|
||||||
|
|
Loading…
Reference in New Issue