From: Michael Stapelberg Date: Sun, 31 Jul 2011 17:26:38 +0000 (+0200) Subject: Bugfix: Correctly pass the pointer to xcb_send_event X-Git-Tag: 4.0~14^2~9 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5bfc89f7330d1a7bf7d062cb5d667589f2cb47a3;p=i3%2Fi3 Bugfix: Correctly pass the pointer to xcb_send_event --- 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);