diff options
author | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-04-28 13:25:53 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@osg.samsung.com> | 2015-06-22 12:27:21 -0400 |
commit | aa96334d47726b1e5b0815285d1adc71c6b1934e (patch) | |
tree | 1cd3e801789920f34e912617bd9b811f1ab6afc1 | |
parent | 07d5fbf4164346c3c257bbe467630a1d365b1610 (diff) | |
download | enlightenment-aa96334d47726b1e5b0815285d1adc71c6b1934e.tar.gz |
update xwayland for api changes
-rw-r--r-- | src/modules/xwayland/e_mod_main.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/modules/xwayland/e_mod_main.c b/src/modules/xwayland/e_mod_main.c index 0f887f74ff..92bad9a296 100644 --- a/src/modules/xwayland/e_mod_main.c +++ b/src/modules/xwayland/e_mod_main.c @@ -273,23 +273,19 @@ EAPI E_Module_Api e_modapi = { E_MODULE_API_VERSION, "XWayland" }; EAPI void * e_modapi_init(E_Module *m) { - E_Comp *comp; char disp[8]; DBG("LOAD XWAYLAND MODULE"); - /* try to get the running compositor */ - if (!(comp = e_comp_get(NULL))) return NULL; - /* make sure it's a wayland compositor */ - if (comp->comp_type != E_PIXMAP_TYPE_WL) return NULL; + if (e_comp->comp_type != E_PIXMAP_TYPE_WL) return NULL; /* alloc space for server struct */ if (!(exs = calloc(1, sizeof(E_XWayland_Server)))) return NULL; /* record wayland display */ - exs->wl_disp = comp->wl_comp_data->wl.disp; + exs->wl_disp = e_comp->wl_comp_data->wl.disp; /* default display to zero */ exs->disp = 0; |