openbsd-ports/x11/i3/patches/patch-src_xcb_c
2011-01-05 12:45:04 +00:00

12 lines
597 B
Plaintext

$OpenBSD: patch-src_xcb_c,v 1.1 2011/01/05 12:45:04 dcoppa Exp $
--- src/xcb.c.orig Wed Jan 5 13:03:28 2011
+++ src/xcb.c Wed Jan 5 13:04:56 2011
@@ -92,7 +92,6 @@ uint32_t get_colorpixel(xcb_connection_t *conn, char *
*/
xcb_window_t create_window(xcb_connection_t *conn, Rect dims, uint16_t window_class, int cursor,
bool map, uint32_t mask, uint32_t *values) {
- xcb_window_t root = xcb_setup_roots_iterator(xcb_get_setup(conn)).data->root;
xcb_window_t result = xcb_generate_id(conn);
xcb_cursor_t cursor_id = xcb_generate_id(conn);