From 5bfc89f7330d1a7bf7d062cb5d667589f2cb47a3 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 31 Jul 2011 19:26:38 +0200 Subject: [PATCH] Bugfix: Correctly pass the pointer to xcb_send_event --- src/xcb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xcb.c b/src/xcb.c index 545e2c60..82991c9a 100644 --- a/src/xcb.c +++ b/src/xcb.c @@ -188,7 +188,7 @@ void fake_configure_notify(xcb_connection_t *conn, Rect r, xcb_window_t window) generated_event->above_sibling = XCB_NONE; generated_event->override_redirect = false; - xcb_send_event(conn, false, window, XCB_EVENT_MASK_STRUCTURE_NOTIFY, (char*)&generated_event); + xcb_send_event(conn, false, window, XCB_EVENT_MASK_STRUCTURE_NOTIFY, (char*)generated_event); xcb_flush(conn); free(event); -- 2.39.5