forked from enlightenment/enlightenment
Revert "reverse order of shell binding in wl_desktop_shell module"
Reverting the shell order commit in favor of a better approach as
discussed on IRC.
This reverts commit 9b457513e4
.
This commit is contained in:
parent
9b457513e4
commit
96e63d863f
|
@ -161,19 +161,18 @@ e_modapi_init(E_Module *m)
|
||||||
{
|
{
|
||||||
Eina_Bool have_shell;
|
Eina_Bool have_shell;
|
||||||
|
|
||||||
have_shell = e_xdg_shell_v6_init();
|
/* try to create global shell interface */
|
||||||
have_shell &= e_xdg_shell_v5_init();
|
if (!wl_global_create(e_comp_wl->wl.disp, &wl_shell_interface, 1,
|
||||||
if (!have_shell)
|
NULL, wl_shell_cb_bind))
|
||||||
{
|
{
|
||||||
/* try to create global shell interface */
|
ERR("Could not create shell global");
|
||||||
if (!wl_global_create(e_comp_wl->wl.disp, &wl_shell_interface, 1,
|
return NULL;
|
||||||
NULL, wl_shell_cb_bind))
|
|
||||||
{
|
|
||||||
ERR("Could not create shell global");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
have_shell = e_xdg_shell_v5_init();
|
||||||
|
have_shell &= e_xdg_shell_v6_init();
|
||||||
|
if (!have_shell) return NULL;
|
||||||
|
|
||||||
#ifdef HAVE_WL_TEXT_INPUT
|
#ifdef HAVE_WL_TEXT_INPUT
|
||||||
if (!e_input_panel_init())
|
if (!e_input_panel_init())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue