Bugfix: Correctly pass the pointer to xcb_send_event

This commit is contained in:
Michael Stapelberg 2011-07-31 19:26:38 +02:00
parent 3a41aea75b
commit 5bfc89f733
1 changed files with 1 additions and 1 deletions

View File

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