]> git.sur5r.net Git - i3/i3/commitdiff
Bugfix: Correctly pass the pointer to xcb_send_event
authorMichael Stapelberg <michael@stapelberg.de>
Sun, 31 Jul 2011 17:26:38 +0000 (19:26 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Sun, 31 Jul 2011 17:26:38 +0000 (19:26 +0200)
src/xcb.c

index 545e2c60494b897d7b222e4efbf2769b8e4f7c7c..82991c9a18a9f0e47e6fab7f96417100f2c608e1 100644 (file)
--- 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);