forked from enlightenment/efl
ecore-x: re-add implementation of ecore_x_connection_get()
this symbol has been missing since the removal of xcb @fix
This commit is contained in:
parent
067ec7bd5c
commit
b28d6ac5e6
|
@ -120,6 +120,7 @@ AC_DEFUN([EFL_FIND_X],
|
||||||
efl_x11_lib=
|
efl_x11_lib=
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
efl_x11_modules="$efl_x11_modules x11-xcb"
|
||||||
|
|
||||||
PKG_CHECK_EXISTS([$efl_x11_modules],
|
PKG_CHECK_EXISTS([$efl_x11_modules],
|
||||||
[
|
[
|
||||||
|
|
|
@ -2519,6 +2519,13 @@ ecore_x_default_depth_get(Ecore_X_Display *disp,
|
||||||
return depth;
|
return depth;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EAPI Ecore_X_Connection *
|
||||||
|
ecore_x_connection_get(void)
|
||||||
|
{
|
||||||
|
EINA_SAFETY_ON_NULL_RETURN_VAL(_ecore_x_disp, NULL);
|
||||||
|
return XGetXCBConnection(_ecore_x_disp);
|
||||||
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
ecore_x_xkb_select_group(int group)
|
ecore_x_xkb_select_group(int group)
|
||||||
{
|
{
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
#endif /* ifndef MAXHOSTNAMELEN */
|
#endif /* ifndef MAXHOSTNAMELEN */
|
||||||
|
|
||||||
#include <X11/Xlib.h>
|
#include <X11/Xlib.h>
|
||||||
|
#include <X11/Xlib-xcb.h>
|
||||||
#include <X11/Xproto.h>
|
#include <X11/Xproto.h>
|
||||||
#include <X11/Xutil.h>
|
#include <X11/Xutil.h>
|
||||||
#include <X11/Xatom.h>
|
#include <X11/Xatom.h>
|
||||||
|
|
Loading…
Reference in New Issue