this is impossible and will never be possible; ecore-x can only manage
a single x11 connection at any time, and so it will never be possible to both
manage the x11 compositor canvas on one xserver and manage xwayland clients
on a separate server
invalidates T2537
return EINA_FALSE;
}
+static Eina_Bool
+error_dialog()
+{
+ e_util_dialog_internal(_("Error"), _("Cannot launch XWayland from X11 display."));
+ return EINA_FALSE;
+}
+
/* module functions */
E_API E_Module_Api e_modapi = { E_MODULE_API_VERSION, "XWayland" };
/* make sure it's a wayland compositor */
if (e_comp->comp_type != E_PIXMAP_TYPE_WL) return NULL;
+ if (getenv("DISPLAY"))
+ {
+ ecore_timer_add(1.0, error_dialog, NULL);
+ return NULL;
+ }
+
DBG("LOAD XWAYLAND MODULE");
/* alloc space for server struct */