X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fmain.c;h=5362d0775e53c175b96619a5dbfd93c74f0fcaf9;hb=4.12-108-gb850cfb;hp=367ebac16688ede9b8132138eed3dc389efb9491;hpb=5594139676125716defd7b44f5ea10efd3781203;p=i3%2Fi3 diff --git a/src/main.c b/src/main.c index 367ebac1..5362d077 100644 --- a/src/main.c +++ b/src/main.c @@ -826,7 +826,7 @@ int main(int argc, char *argv[]) { (uint32_t[]){XCB_GX_COPY, ~0, XCB_FILL_STYLE_SOLID, XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS}); xcb_copy_area(conn, root->root, pixmap, gc, 0, 0, 0, 0, width, height); - xcb_change_window_attributes_checked(conn, root->root, XCB_CW_BACK_PIXMAP, (uint32_t[]){pixmap}); + xcb_change_window_attributes(conn, root->root, XCB_CW_BACK_PIXMAP, (uint32_t[]){pixmap}); xcb_flush(conn); xcb_free_gc(conn, gc); xcb_free_pixmap(conn, pixmap);