Ecore: Backport Daniel's patch for xcb event.
authordevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 4 Oct 2012 05:53:23 +0000 (05:53 +0000)
committerdevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 4 Oct 2012 05:53:23 +0000 (05:53 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/branches/ecore-1.7@77403 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

ChangeLog
src/lib/ecore_x/xcb/ecore_xcb_events.c

index 6f2df29..b21f8b9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 
        * Fix memory allocation size in ecore_thread_feedback()
 
+2012-10-03  Daniel Wilmann
+       * Fix memory allocation size in ecore_x xcb randr function
index 5722b46..9ccd52c 100644 (file)
@@ -1939,7 +1939,7 @@ _ecore_xcb_event_handle_randr_output_change(xcb_generic_event_t *event)
 
 #ifdef ECORE_XCB_RANDR
    ev = (xcb_randr_notify_event_t *)event;
-   if (!(e = calloc(1, sizeof(Ecore_X_Event_Randr_Crtc_Change))))
+   if (!(e = calloc(1, sizeof(Ecore_X_Event_Randr_Output_Change))))
      return;
 
    e->win = ev->u.oc.window;