From 492eb022533b621ef56c54052264321fc1623e4b Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Thu, 4 Oct 2012 05:49:28 +0000 Subject: [PATCH] Ecore_X (xcb): Patch from Daniel Willmann to fix the type used for calloc of randr_output_change event. SVN revision: 77401 --- legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_events.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_events.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_events.c index 5722b46c52..9ccd52c3af 100644 --- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_events.c +++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_events.c @@ -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;