summaryrefslogtreecommitdiff
path: root/src/lib/ecore_x
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2018-01-24 16:06:29 -0500
committerMike Blumenkrantz <zmike@osg.samsung.com>2018-01-24 16:18:51 -0500
commitb28d6ac5e6fd03de9468c7ade293d7f4b7468168 (patch)
tree48bd25145945fd1ec4144cf5104c4722abd2c4c3 /src/lib/ecore_x
parent067ec7bd5ca5f904b06d6b29bdd036f17992b55f (diff)
ecore-x: re-add implementation of ecore_x_connection_get()
this symbol has been missing since the removal of xcb @fix
Diffstat (limited to 'src/lib/ecore_x')
-rw-r--r--src/lib/ecore_x/ecore_x.c7
-rw-r--r--src/lib/ecore_x/ecore_x_private.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/ecore_x/ecore_x.c b/src/lib/ecore_x/ecore_x.c
index 51491f4..81eae65 100644
--- a/src/lib/ecore_x/ecore_x.c
+++ b/src/lib/ecore_x/ecore_x.c
@@ -2519,6 +2519,13 @@ ecore_x_default_depth_get(Ecore_X_Display *disp,
2519 return depth; 2519 return depth;
2520} 2520}
2521 2521
2522EAPI Ecore_X_Connection *
2523ecore_x_connection_get(void)
2524{
2525 EINA_SAFETY_ON_NULL_RETURN_VAL(_ecore_x_disp, NULL);
2526 return XGetXCBConnection(_ecore_x_disp);
2527}
2528
2522EAPI void 2529EAPI void
2523ecore_x_xkb_select_group(int group) 2530ecore_x_xkb_select_group(int group)
2524{ 2531{
diff --git a/src/lib/ecore_x/ecore_x_private.h b/src/lib/ecore_x/ecore_x_private.h
index 2254f15..7374a0d 100644
--- a/src/lib/ecore_x/ecore_x_private.h
+++ b/src/lib/ecore_x/ecore_x_private.h
@@ -7,6 +7,7 @@
7#endif /* ifndef MAXHOSTNAMELEN */ 7#endif /* ifndef MAXHOSTNAMELEN */
8 8
9#include <X11/Xlib.h> 9#include <X11/Xlib.h>
10#include <X11/Xlib-xcb.h>
10#include <X11/Xproto.h> 11#include <X11/Xproto.h>
11#include <X11/Xutil.h> 12#include <X11/Xutil.h>
12#include <X11/Xatom.h> 13#include <X11/Xatom.h>