elm_win: check for wayland engine during finalize by checking for wl win

fake wins don't provide engine info, but a wl win will still exist

@fix
This commit is contained in:
Mike Blumenkrantz 2017-08-23 14:24:11 -04:00
parent d0f1a57ade
commit 8dbea4a709
1 changed files with 1 additions and 1 deletions

View File

@ -5036,7 +5036,7 @@ _elm_win_finalize_internal(Eo *obj, Efl_Ui_Win_Data *sd, const char *name, Elm_W
#ifdef HAVE_ELEMENTARY_WL2
_elm_win_wlwindow_get(sd);
if (eina_streq(engine, ELM_WAYLAND_SHM) || eina_streq(engine, ELM_WAYLAND_EGL))
if (sd->wl.win)
{
Ecore_Wl2_Window_Type wtype;
sd->wl.configure_handler =