raster pushed a commit to branch master. http://git.enlightenment.org/apps/ecrire.git/commit/?id=20983dc2a2c737620c7aaf8f45d47d5e84e71334
commit 20983dc2a2c737620c7aaf8f45d47d5e84e71334 Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Fri May 12 14:40:00 2017 +0900 disable x specific code in ecrire so it works on wayland at least until this is done some other way... not sure exactly why it needs to know about selection ownership loss. - disable some widget... probably should have a smarrt cb on entry or something to make this work. @fix --- src/bin/main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/bin/main.c b/src/bin/main.c index e2fe161..9c2a2e9 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -6,9 +6,11 @@ # include <unistd.h> #endif +/* #ifdef HAVE_ECORE_X # include <Ecore_X.h> #endif +*/ #include <Elementary.h> @@ -567,6 +569,7 @@ editor_font_choose(Ecrire_Entry *ent, const char *font, int size) ecrire_cfg_save(); } +/* #ifdef HAVE_ECORE_X static Eina_Bool _selection_notify(void *data, int type __UNUSED__, void *_event) @@ -587,6 +590,7 @@ _selection_notify(void *data, int type __UNUSED__, void *_event) return ECORE_CALLBACK_PASS_ON; } #endif +*/ int main(int argc, char *argv[]) @@ -733,6 +737,7 @@ main(int argc, char *argv[]) elm_toolbar_item_append(tbar, "preferences-system", _("Settings"), _font_settings, main_ec_ent); +/* #ifdef HAVE_ECORE_X if (!ecore_x_selection_owner_get(ECORE_X_ATOM_SELECTION_CLIPBOARD)) { @@ -743,6 +748,7 @@ main(int argc, char *argv[]) ecore_event_handler_add(ECORE_X_EVENT_FIXES_SELECTION_NOTIFY, _selection_notify, main_ec_ent); #endif +*/ /* We don't have a selection when we start, make the items disabled */ elm_object_item_disabled_set(main_ec_ent->copy_item, EINA_TRUE); --
