Bugfix: Correctly pass the pointer to xcb_send_event
This commit is contained in:
parent
3a41aea75b
commit
5bfc89f733
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue