diff --git a/legacy/evas/src/modules/engines/wayland_egl/evas_engine.c b/legacy/evas/src/modules/engines/wayland_egl/evas_engine.c index 48c0f9947d..a61f711dd4 100644 --- a/legacy/evas/src/modules/engines/wayland_egl/evas_engine.c +++ b/legacy/evas/src/modules/engines/wayland_egl/evas_engine.c @@ -667,7 +667,7 @@ eng_setup(Evas *e, void *in) /* if we already have a window surface, check for NULL input surface. * this will mean we are hiding the window and should destroy * things properly */ - if ((re->win->surface) && (re->info->info.surface = NULL)) + if ((re->win->surface) && (re->info->info.surface == NULL)) { if (re->win) {