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);