Commit c9ea9b86 authored by Mike Blumenkrantz's avatar Mike Blumenkrantz Committed by Carsten Haitzler (Rasterman)

ecore-x: re-add implementation of ecore_x_connection_get()

this symbol has been missing since the removal of xcb

@fix
parent c5e4d344
......@@ -120,6 +120,7 @@ AC_DEFUN([EFL_FIND_X],
efl_x11_lib=
fi
done
efl_x11_modules="$efl_x11_modules x11-xcb"
PKG_CHECK_EXISTS([$efl_x11_modules],
[
......
......@@ -2511,6 +2511,13 @@ ecore_x_default_depth_get(Ecore_X_Display *disp,
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
ecore_x_xkb_select_group(int group)
{
......
......@@ -7,6 +7,7 @@
#endif /* ifndef MAXHOSTNAMELEN */
#include <X11/Xlib.h>
#include <X11/Xlib-xcb.h>
#include <X11/Xproto.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment