wayland-compositor: Set server mode

Summary:
If we don't set server mode we can deadlock when trying to use functions
that way for server mode to become set.

This can currently cause a startup freeze in e_scale_init().

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2520
This commit is contained in:
Derek Foreman 2015-05-15 14:44:21 -04:00 committed by Chris Michael
parent 3e3dc6dcc5
commit e1c9bfa619
1 changed files with 2 additions and 0 deletions

View File

@ -2578,6 +2578,8 @@ e_comp_wl_init(void)
return EINA_FALSE;
}
ecore_wl_server_mode_set(1);
/* try to init ecore_wayland */
if (!ecore_wl_init(NULL))
{