forked from enlightenment/efl
ecore-x xpresent - fix build if you DONT have xpresent there.
This commit is contained in:
parent
50b941f907
commit
dc9d37de0b
|
@ -2317,11 +2317,13 @@ _ecore_xcb_event_handle_generic_event(xcb_generic_event_t *event)
|
||||||
// FIXME: should we generate generic events as WELL as input events?
|
// FIXME: should we generate generic events as WELL as input events?
|
||||||
// return;
|
// return;
|
||||||
}
|
}
|
||||||
|
#ifdef ECORE_XCB_XPRESENT
|
||||||
else if (ev->pad0 == _ecore_xcb_event_xpresent)
|
else if (ev->pad0 == _ecore_xcb_event_xpresent)
|
||||||
{
|
{
|
||||||
_ecore_xcb_event_handle_present_event((xcb_ge_event_t*)event);
|
_ecore_xcb_event_handle_present_event((xcb_ge_event_t*)event);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (!(e = calloc(1, sizeof(Ecore_X_Event_Generic))))
|
if (!(e = calloc(1, sizeof(Ecore_X_Event_Generic))))
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -64,7 +64,9 @@ _ecore_xcb_extensions_init(void)
|
||||||
_ecore_xcb_gesture_init();
|
_ecore_xcb_gesture_init();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef ECORE_XCB_XPRESENT
|
||||||
_ecore_xcb_present_init();
|
_ecore_xcb_present_init();
|
||||||
|
#endif
|
||||||
|
|
||||||
/* #ifdef ECORE_XCB_DRI */
|
/* #ifdef ECORE_XCB_DRI */
|
||||||
/* _ecore_xcb_dri_init(); */
|
/* _ecore_xcb_dri_init(); */
|
||||||
|
@ -137,7 +139,10 @@ _ecore_xcb_extensions_finalize(void)
|
||||||
_ecore_xcb_gesture_finalize();
|
_ecore_xcb_gesture_finalize();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef ECORE_XCB_XPRESENT
|
||||||
_ecore_xcb_present_finalize();
|
_ecore_xcb_present_finalize();
|
||||||
|
#endif
|
||||||
|
|
||||||
/* #ifdef ECORE_XCB_DRI */
|
/* #ifdef ECORE_XCB_DRI */
|
||||||
/* _ecore_xcb_dri_finalize(); */
|
/* _ecore_xcb_dri_finalize(); */
|
||||||
/* #endif */
|
/* #endif */
|
||||||
|
|
Loading…
Reference in New Issue