set shm engine for wl internal windows

this seems to be necessary for now to prevent crashing
This commit is contained in:
Mike Blumenkrantz 2015-06-25 20:04:01 -04:00
parent b862ec63d0
commit 2bf57d79af
1 changed files with 5 additions and 2 deletions

View File

@ -2607,8 +2607,11 @@ e_comp_wl_init(void)
/* add event handlers to catch E events */
if (e_comp->comp_type != E_PIXMAP_TYPE_X)
if (e_randr2_init())
e_randr2_screens_setup(-1, -1);
{
if (e_randr2_init())
e_randr2_screens_setup(-1, -1);
elm_config_preferred_engine_set("wayland_shm");
}
E_LIST_HANDLER_APPEND(handlers, E_EVENT_RANDR_CHANGE,
_e_comp_wl_cb_randr_change, NULL);