Surfaceless extension is not longer required for wayland clients in E

Compositor.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 79205
This commit is contained in:
Christopher Michael 2012-11-13 08:33:36 +00:00 committed by Christopher Michael
parent 3eebf58116
commit b9446430c8
1 changed files with 2 additions and 9 deletions

View File

@ -225,7 +225,6 @@ static Eina_Bool
_e_mod_comp_wl_comp_egl_init(void)
{
EGLint major, minor, n;
const char *extensions;
EGLint config_attribs[] =
{
EGL_RED_SIZE, 8, EGL_GREEN_SIZE, 8, EGL_BLUE_SIZE, 8,
@ -253,14 +252,6 @@ _e_mod_comp_wl_comp_egl_init(void)
return EINA_FALSE;
}
extensions = eglQueryString(_wl_comp->egl.display, EGL_EXTENSIONS);
if (!strstr(extensions, "EGL_KHR_surfaceless_gles2"))
{
EINA_LOG_ERR("EGL_KHR_surfaceless_gles2 not supported\n");
eglTerminate(_wl_comp->egl.display);
return EINA_FALSE;
}
if (!eglBindAPI(EGL_OPENGL_ES_API))
{
EINA_LOG_ERR("Failed to bind EGL API\n");
@ -423,6 +414,8 @@ _e_mod_comp_wl_cb_focus_out(void *data __UNUSED__, int type __UNUSED__, void *ev
/* ev = event; */
input = e_mod_comp_wl_input_get();
if ((!input) || (!input->seat.keyboard))
return ECORE_CALLBACK_PASS_ON;
wl_keyboard_set_focus(input->seat.keyboard, NULL);
wl_data_device_set_keyboard_focus(&input->seat);